Class SOCKS5Server

    • Constructor Detail

      • SOCKS5Server

        public SOCKS5Server​(I2PAppContext ctx,
                            Socket clientSock,
                            Properties props)
        Create a SOCKS5 server that communicates with the client using the specified socket. This method should not be invoked directly: new SOCKS5Server objects should be created by using SOCKSServerFactory.createSOCSKServer(). It is assumed that the SOCKS VER field has been stripped from the input stream of the client socket.
        clientSock - client socket
        props - non-null