SocksClient Constructor

Mentalis.org Proxy

Mentalis.org Proxy Documentation

SocksClient Constructor 

Initializes a new instance of the SocksClient class.

[Visual Basic]Public Sub New( _
   ByVal ClientSocket As System.Net.Sockets.Socket, _
   ByVal Destroyer As Org.Mentalis.Proxy.DestroyDelegate, _
   ByVal AuthList As Org.Mentalis.Proxy.Socks.Authentication.AuthenticationList _
)
[C#]
public SocksClient(
   Socket ClientSocket,
   DestroyDelegate Destroyer,
   AuthenticationList AuthList
);

Parameters

ClientSocket
The Socket connection between this proxy server and the local client.
Destroyer
The method to be called when this SocksClient object disconnects from the local client and the remote server.
AuthList
The list with valid username/password combinations.

Remarks

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.

See Also

SocksClient Class | SocksClient Members | Org.Mentalis.Proxy.Socks Namespace