Org.Mentalis.Proxy.Socks.SocksClient.SocksClient C# (CSharp) Method

SocksClient() public method

Initializes a new instance of the SocksClient class.
If the AuthList is non-null, every client has to authenticate before he can use this proxy server to relay data. If it is null, the clients don't have to authenticate.
public SocksClient ( Socket ClientSocket, DestroyDelegate Destroyer, Org.Mentalis.Proxy.Socks.Authentication.AuthenticationList AuthList ) : System
ClientSocket Socket The Socket connection between this proxy server and the local client.
Destroyer DestroyDelegate The method to be called when this SocksClient object disconnects from the local client and the remote server.
AuthList Org.Mentalis.Proxy.Socks.Authentication.AuthenticationList The list with valid username/password combinations.
return System
        public SocksClient(Socket ClientSocket, DestroyDelegate Destroyer, AuthenticationList AuthList)
            : base(ClientSocket, Destroyer)
        {
            this.AuthList = AuthList;
        }