TCP/UDP广播包
摘要:namespace UDPServer{ class Program { static void Main(string[] args) { int recv; byte[] data = new byte[1024]; //构建TCP 服务器 //得到本机IP,设置TCP端口号 IPEndPoint ipep = new IPEndPoint(IPAddress.Any , 8001); Socket ...
阅读全文
posted @
2011-09-20 14:42
luolei05
阅读(2428)
推荐(0)