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