Socks4Handler.BeginNegotiate Method (IPEndPoint, HandShakeComplete, IPEndPoint)

Mentalis.org ProxySocket

Mentalis.org ProxySocket Documentation

Socks4Handler.BeginNegotiate Method (IPEndPoint, HandShakeComplete, IPEndPoint)

Starts negotiating asynchronously with a SOCKS proxy 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 connection has been established.
proxyEndPoint
The IPEndPoint of the SOCKS proxy server.

Return Value

An IAsyncProxyResult that references the asynchronous connection.

See Also

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