Client Constructor (Socket, DestroyDelegate)

Mentalis.org Proxy

Mentalis.org Proxy Documentation

Client Constructor (Socket, DestroyDelegate)

Initializes a new instance of the Client class.

[Visual Basic]Overloads Public Sub New( _
   ByVal ClientSocket As System.Net.Sockets.Socket, _
   ByVal Destroyer As Org.Mentalis.Proxy.DestroyDelegate _
)
[C#]
public Client(
   Socket ClientSocket,
   DestroyDelegate Destroyer
);

Parameters

ClientSocket
The System.Net.Sockets.Socket connection between this proxy server and the local client.
Destroyer
The callback method to be called when this Client object disconnects from the local client and the remote server.

See Also

Client Class | Client Members | Org.Mentalis.Proxy Namespace | Client Constructor Overload List