摘要:
服务器端: 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... 阅读全文