Socks4Handler Constructor

Mentalis.org ProxySocket

Mentalis.org ProxySocket Documentation

Socks4Handler Constructor 

Initilizes a new instance of the SocksHandler class.

[Visual Basic]Public Sub New( _
   ByVal server As System.Net.Sockets.Socket, _
   ByVal user As String _
)
[C#]
public Socks4Handler(
   Socket server,
   string user
);

Parameters

server
The socket connection with the proxy server.
user
The username to use when authenticating with the server.

Exceptions

Exception Type Condition
System.ArgumentNullException server -or- user is null.

See Also

Socks4Handler Class | Socks4Handler Members | Org.Mentalis.Network.ProxySocket Namespace