GCDSOCKS5ProxyServer

public final class GCDSOCKS5ProxyServer: GCDProxyServer

The SOCKS5 proxy server.

  • Create an instance of SOCKS5 proxy server.

    Declaration

    Swift

    override public init(address: IPAddress?, port: Port)

    Parameters

    address

    The address of proxy server.

    port

    The port of proxy server.

  • Handle the new accepted socket as a SOCKS5 proxy connection.

    Declaration

    Swift

    override func handleNewGCDSocket(_ socket: GCDTCPSocket)

    Parameters

    socket

    The accepted socket.