private void ProcessReceive(SocketAsyncEventArgs e) // Check if the remote host closed the connectionSEND // this.bufferSize IS SocketAsyncEventArgs异常:使用此SocketAsyncEventArgs</em
我可以成功地将数据发送到服务器,但是当服务器响应时,它不会显示在SocketAsyncEventArgs的缓冲区中。我使用Wireshark监视流量,我知道有响应进来,但我的应用程序没有注册它。buffer = new byte[4096];
args.RemoteEndPointThread.Sleep(1000); {
buffer = new byte[409