try
{
this.MyServer=new IPEndPoint(this.myIP,Int32.Parse(this.textBox2.Text));
}
catch
{
    this.richTextBox1.Text="IP地址格式不正确";
}
this.sock=new Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType.Tcp);
sock.Bind(this.MyServer);
sock.Listen(50);
this.richTextBox1.AppendText("主机"+this.textBox1.Text+"端口"+this.textBox2.Text+"开始监听...\r\n");
while(true)
{
this.accSock=sock.Accept();
if(accSock.Connected)
{
this.richTextBox1.Text="连上";  //这里就没发现连上的.连上了才有后续的操作啊?到底怎么回事?
Thread thread=new Thread(new ThreadStart(round));
thread.Start();
}
}