RecvPDU() public method

public RecvPDU ( ) : void
return void
Example #1
0
 static void ThreadProc(TransportClient client)
 {
     try
     {
         while (client.isConnected())
         {
             client.RecvPDU();
             Thread.Sleep(10);
         }
     }
     catch (Exception e)
     {
         Console.WriteLine(e.ToString());
     }
 }
Example #2
0
 static void ThreadProc(TransportClient client)
 {
     try
     {
         while (client.isConnected())
         {
             client.RecvPDU();
             Thread.Sleep(10);
         }
     }
     catch(Exception e)
     {
         Console.WriteLine(e.ToString());
     }
 }
 static void ThreadProc(TransportClient client)
 {
     while (true)
     {
         client.RecvPDU();
         Thread.Sleep(10);
     }
 }