Socks4Handler Members

Mentalis.org ProxySocket

Mentalis.org ProxySocket Documentation

Socks4Handler Members

Public Instance Constructors

Socks4Handler Constructor Initilizes a new instance of the SocksHandler class.

Public Instance Methods

BeginNegotiateOverloaded. Starts negotiating asynchronously with a SOCKS proxy 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 Methods

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.
OnConnect Called when the Socket is connected to the remote proxy server.
OnReceive Called when the Socket has received a reply from the remote proxy server.
OnSent Called when the Socket has sent the handshake data.

See Also

Socks4Handler Class | Org.Mentalis.Network.ProxySocket Namespace