PortMapClient Constructor

Mentalis.org Proxy

Mentalis.org Proxy Documentation

PortMapClient Constructor 

Initializes a new instance of the PortMapClient class.

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

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.
MapTo
The IP EndPoint to send the incoming data to.

See Also

PortMapClient Class | PortMapClient Members | Org.Mentalis.Proxy.PortMap Namespace