@ Override public void setTimeout ( int timeout ) throws SocketException { lock . lock ( ) ; try { this . socket . setSoTimeout ( timeout ) ; } finally { lock . unlock ( ) ; } }
Sets the connection timeout .