摘要: 服务器端: Thread recvThread; private void StartReceive() { recvThread = new Thread(new ThreadStart(Recv)); recvThread.IsBackground = false; recvThread.Start(); } Socket listenSocket; private void Recv() { IPEndPoint local = new IPEndPoint(Dns.GetHostByName(Dns.GetHostName()).AddressList[0... 阅读全文
posted @ 2013-07-01 11:27 小菜来报道 阅读(207) 评论(0) 推荐(0) 编辑