摘要:                                  &#... 阅读全文
posted @ 2009-12-10 21:05 eping 阅读(983) 评论(0) 推荐(0)
摘要: 可以通过调用Socket对象的SetSocketOption方法设置套接字的各种选项,它有3种重载的形式: public void SetSocketOption(SetSocketOptionLevel sl,SocketOptionName sn,byte[]value) public void SetSocketOption(SetSocketOptionLevel sl,SocketO... 阅读全文
posted @ 2009-12-10 20:38 eping 阅读(7710) 评论(0) 推荐(2)
摘要: System.Net.Sockets   包含了一个socket类,Socket原型 Socket(AddressFamily af,SocketType st,ProtocolType pt)  AddressFamily 为网络类型,SocketType 为数据类型,ProtocolType 为使用的网络协议 AddressFamily 总是使用Address... 阅读全文
posted @ 2009-12-10 20:02 eping 阅读(716) 评论(0) 推荐(0)
摘要: Any Address:0.0.0.0 代表本地系统可用的任何IP地址Broadcast Address:255.255.255.255 代表本地网络的IP广播地址Loopback Address:127.0.0.1 代表系统的回送地址None Address:255.255.255.255 代表系统上没有网络的接口 阅读全文
posted @ 2009-12-10 19:25 eping 阅读(295) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading;... 阅读全文
posted @ 2009-12-10 19:01 eping 阅读(335) 评论(0) 推荐(0)