Ejemplo n.º 1
0
 // sets the receiver timeout.
 public static void SetReceiveTimeout(int newRt)
 {
     server.SetReceiveTimeout(newRt);
 }
Ejemplo n.º 2
0
 // sets the receive timeout
 public void SetReceiveTimeout(int receiveTimeout)
 {
     // sets the receive timeout
     this.receiveTimeout = (receiveTimeout >= 0) ? receiveTimeout : 0;
     server.SetReceiveTimeout(this.receiveTimeout);
 }