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