示例#1
0
 private void AcceptConnections()
 {
     while (isRunning)
     {
         var connection = connectionListener.AcceptNext();
         if (null == connection)
         {
             continue;
         }
         OnEstablished(connection);
     }
 }