private void initSocket ( ) { socket = new Socket ( ) ; try { socket . setSoLinger ( false , 0 ) ; socket . setTcpNoDelay ( true ) ; socket . setSoTimeout ( timeout ) ; } catch ( SocketException sx ) { LOGGER . error ( "Could not configure socket." , sx ) ; } }
Initializes the socket object