SocksHandler.BeginNegotiate Method (IPEndPoint, HandShakeComplete, IPEndPoint)

Mentalis.org ProxySocket

Mentalis.org ProxySocket Documentation

SocksHandler.BeginNegotiate Method (IPEndPoint, HandShakeComplete, IPEndPoint)

Starts negotiating asynchronously with a SOCKS proxy server.

[Visual Basic]MustOverride 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 abstract IAsyncProxyResult BeginNegotiate(
   IPEndPoint remoteEP,
   HandShakeComplete callback,
   IPEndPoint proxyEndPoint
);

Parameters

remoteEP
An IPEndPoint that represents the remote device.
callback
The method to call when the connection has been established.
proxyEndPoint
The IPEndPoint of the SOCKS proxy server.

Return Value

An IAsyncProxyResult that references the asynchronous connection.

See Also

SocksHandler Class | SocksHandler Members | Org.Mentalis.Network.ProxySocket Namespace | SocksHandler.BeginNegotiate Overload List