SocksHandler Constructor

Mentalis.org Proxy

Mentalis.org Proxy Documentation

SocksHandler Constructor 

Initializes a new instance of the SocksHandler class.

[Visual Basic]Public Sub New( _
   ByVal ClientConnection As System.Net.Sockets.Socket, _
   ByVal Callback As Org.Mentalis.Proxy.Socks.NegotiationCompleteDelegate _
)
[C#]
public SocksHandler(
   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

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