@ Override public boolean accept ( SocketBar socket ) throws IOException { JniSocketImpl jniSocket = ( JniSocketImpl ) socket ; if ( _fd == 0 ) throw new IOException ( "accept from closed socket" ) ; return jniSocket . accept ( this , _fd , _socketTimeout ) ; }
Accepts a new connection from the socket .