Starts negotiating with the SOCKS server.
[Visual Basic]Overloads Private Sub Negotiate( _
ByVal connect As Byte() _
)
[C#]
private void Negotiate(
byte[] connect
);
Parameters
- connect
- The bytes to send when trying to authenticate.
Exceptions
Exception Type | Condition |
---|---|
System.ArgumentNullException | connect is null. |
System.ArgumentException | connect is too small. |
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