c#不用Accept()方法如何接收数据
//监听方法private void ListeningRequest()
{
while (true)
{
Socket tempSocket = socket_listen_request.Accept();
byte[] buff = new byte[1024];
int receiveLength = tempSocket.Receive(buff);
string msgStr = Encoding.Default.GetString(buff, 0, receiveLength);
this.txt_sendInfo.Text += msgStr;
}
}