Initiliazes a new Socks5Handler instance.
[Visual Basic]Overloads Public Sub New( _
ByVal server As System.Net.Sockets.Socket, _
ByVal user As String _
)
[C#]
public Socks5Handler(
Socket server,
string user
);
Parameters
- server
- The socket connection with the proxy server.
- user
- The username to use.
Exceptions
Exception Type | Condition |
---|---|
System.ArgumentNullException | server -or- user is null. |
See Also
Socks5Handler Class | Socks5Handler Members | Org.Mentalis.Network.ProxySocket Namespace | Socks5Handler Constructor Overload List