Starts negotiating asynchronously with the SOCKS server.
[Visual Basic]Overrides Overloads Public Function BeginNegotiate( _
ByVal remoteEP As System.Net.IPEndPoint, _
ByVal callback As Org.Mentalis.Network.ProxySocket.HandShakeComplete, _
ByVal proxyEndPoint As System.Net.IPEndPoint _
) As Org.Mentalis.Network.ProxySocket.IAsyncProxyResult
[C#]
public override IAsyncProxyResult BeginNegotiate(
IPEndPoint remoteEP,
HandShakeComplete callback,
IPEndPoint proxyEndPoint
);
Parameters
- remoteEP
- An IPEndPoint that represents the remote device.
- callback
- The method to call when the negotiation is complete.
- proxyEndPoint
- The IPEndPoint of the SOCKS proxy server.
Return Value
An IAsyncProxyResult that references the asynchronous connection.
See Also
Socks5Handler Class | Socks5Handler Members | Org.Mentalis.Network.ProxySocket Namespace | Socks5Handler.BeginNegotiate Overload List