Starts negotiating with the SOCKS server.
[Visual Basic]Overrides Overloads Public Sub Negotiate( _
ByVal remoteEP As System.Net.IPEndPoint _
)
[C#]
public override void Negotiate(
IPEndPoint remoteEP
);
Parameters
- remoteEP
- The IPEndPoint to connect to.
Exceptions
| Exception Type | Condition |
|---|---|
| System.ArgumentNullException | remoteEP is null. |
| Org.Mentalis.Network.ProxySocket.ProxyException | The proxy rejected the request. |
| System.Net.Sockets.SocketException | An operating system error occurs while accessing the Socket. |
| System.ObjectDisposedException | The Socket has been closed. |
See Also
Socks4Handler Class | Socks4Handler Members | Org.Mentalis.Network.ProxySocket Namespace | Socks4Handler.Negotiate Overload List