PortMapClient.OnConnected Method

Mentalis.org Proxy

Mentalis.org Proxy Documentation

PortMapClient.OnConnected Method 

Called when the socket is connected to the remote host.

[Visual Basic]Private Sub OnConnected( _
   ByVal ar As System.IAsyncResult _
)
[C#]
private void OnConnected(
   IAsyncResult ar
);

Parameters

ar
The result of the asynchronous operation.

Remarks

When the socket is connected to the remote host, the PortMapClient begins relaying traffic between the host and the client, until one of them closes the connection.

See Also

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