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 SocksHandler(
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
SocksHandler Class | SocksHandler Members | Org.Mentalis.Network.ProxySocket Namespace