Exemple #1
0
 /**
  * Read from the server and write to the console
  */
 private void ThreadedReadRun()
 {
     while (IsAlive())
     {
         try
         {
             ReadManager.Run(Stream);
         }
         catch (Exception)
         {
             return;
         }
     }
 }
Exemple #2
0
 /**
  * HandleRequest
  */
 public void HandleRequest(NetworkStream networkStream, int clientId)
 {
     ReadManager.Run(networkStream, clientId);
 }