示例#1
0
 private void onConnect(object sender, OnConnectEventArgs e)
 {
     if (!server.Clients[e.ClientID].Reading)
     {
         server.BeginRead(onRead, e.ClientID);
     }
 }