Socks5Handler Constructor (Socket, NegotiationCompleteDelegate)

Mentalis.org Proxy

Mentalis.org Proxy Documentation

Socks5Handler Constructor (Socket, NegotiationCompleteDelegate)

Initializes a new instance of the Socks5Handler class.

[Visual Basic]Overloads Public Sub New( _
   ByVal ClientConnection As System.Net.Sockets.Socket, _
   ByVal Callback As Org.Mentalis.Proxy.Socks.NegotiationCompleteDelegate _
)
[C#]
public Socks5Handler(
   Socket ClientConnection,
   NegotiationCompleteDelegate Callback
);

Parameters

ClientConnection
The connection with the client.
Callback
The method to call when the SOCKS negotiation is complete.

Exceptions

Exception Type Condition
System.ArgumentNullException Callback is null.

See Also

Socks5Handler Class | Socks5Handler Members | Org.Mentalis.Proxy.Socks Namespace | Socks5Handler Constructor Overload List