code: @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);
    }
docs: Accepts a new connection from the socket.
  
  @param socket the socket connection structure
  
  @return true if the accept returns a new socket.