2007-12-29 22:34 by Animax!, 462 visits, 网摘, 收藏, 编辑
摘要:Web service 即是 XML Web service, 他作用在于提供一系列的过程给用户端使用. Web Service 能且只能传送XMl格式的数据 , 所以只要能被序列化的对象都能被传递。建立Web Service :在Vs.Net 上建立一个WebService和建立一个普通网站近乎一样 , 新建网站 -> 选择建立Asp.Net Web 服务。成功建立 WebService ...
阅读全文
2007-12-13 23:31 by Animax!, 275 visits, 网摘, 收藏, 编辑
摘要:Socket 是一个用于TCP或UDP通信的类 需要 using System.NetTCP :TcpListener : 从 TCP 网络客户端侦听连接。 打开一个TCP监听:TcpListenerTcpServer=newTcpListener(/*本机IP地址*/,/*本机监听的端口号*/);//新建一个TCP监听类TcpServer.Start();//开始监听此时 , 指定的端口开始侦听...
阅读全文
2007-12-05 16:25 by Animax!, 1625 visits, 网摘, 收藏, 编辑
摘要:事件源对象 event.srcElement.tagName event.srcElement.type 捕获释放 event.srcElement.setCapture(); event.srcElement.releaseCapture(); 事件按键 event.keyCode event.shiftKey event.altKey event.ctrlKey 事件返回值 event.ret...
阅读全文