예제 #1
0
 // sets the receive timeout
 public void SetReceiveTimeout(int receiveTimeout)
 {
     // sets the receive timeout
     this.receiveTimeout = (receiveTimeout >= 0) ? receiveTimeout : 0;
     client.SetReceiveTimeout(this.receiveTimeout);
 }
예제 #2
0
 // sets the receiver timeout.
 public static void SetReceiverTimeout(int newRt)
 {
     client.SetReceiveTimeout(newRt);
 }