Socks5Handler Members

Mentalis.org ProxySocket

Mentalis.org ProxySocket Documentation

Socks5Handler Members

Public Instance Constructors

Socks5Handler Overloaded. Initialize a new instance of the Socks5Handler class.

Public Instance Methods

BeginNegotiateOverloaded. Starts negotiating asynchronously with the SOCKS server.
Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
GetHashCode (inherited from Object)Select the method name to go to the Microsoft documentation.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
NegotiateOverloaded. Starts negotiating with the SOCKS server.
ToString (inherited from Object)Select the method name to go to the Microsoft documentation.

Protected Instance Fields

Protected Instance Properties

AsyncResult (inherited from SocksHandler) Gets or sets the return value of the BeginConnect call.
Buffer (inherited from SocksHandler) Gets or sets a byte buffer.
Received (inherited from SocksHandler) Gets or sets the number of bytes that have been received from the remote proxy server.
Server (inherited from SocksHandler) Gets or sets the socket connection with the proxy server.
Username (inherited from SocksHandler) Gets or sets the username to use when authenticating with the proxy server.

Protected Instance Methods

AddressToBytes (inherited from SocksHandler) Converts an IP address to an array of bytes.
Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.
PortToBytes (inherited from SocksHandler) Converts a port number to an array of bytes.
ReadBytes (inherited from SocksHandler) Reads a specified number of bytes from the Server socket.

Private Instance Fields

m_HandShakeHolds the value of the HandShake property.
m_PasswordHolds the value of the Password property.

Private Instance Properties

HandShake Gets or sets the bytes to use when sending a connect request to the proxy server.
Password Gets or sets the password to use when authenticating with the SOCKS5 server.

Private Instance Methods

Authenticate Starts the synchronous authentication process.
GetEndPointBytes Creates an array of bytes that has to be sent when the user wants to connect to a specific IPEndPoint.
GetHostPortBytes Creates an array of bytes that has to be sent when the user wants to connect to a specific host/port combination.
OnAuthenticated Called when the socket has been successfully authenticated with the server.
OnAuthReceive Called when an authentication reply has been received.
OnAuthSent Called when the authentication bytes have been sent.
OnConnect Called when the socket is connected to the remote server.
OnReadLast Called when the last bytes are read from the socket.
OnReceive Called when a connection reply has been received.
OnSent Called when the connection request has been sent.
ProcessReply Processes the received reply.

See Also

Socks5Handler Class | Org.Mentalis.Network.ProxySocket Namespace