public void destroySocket ( Socket s ) { if ( s == null ) { return ; } s . setLinger ( linger ) ; s . close ( ) ; this . sockets . remove ( s ) ; }
Destroys managed socket within this context and remove from sockets list