SocksHandler Members

Mentalis.org Proxy

Mentalis.org Proxy Documentation

SocksHandler Members

Public Instance Constructors

SocksHandler Constructor Initializes a new instance of the SocksHandler class.

Public Instance Methods

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.
StartNegotiatingStarts accepting bytes from the client.
ToString (inherited from Object)Select the method name to go to the Microsoft documentation.

Protected Instance Properties

AcceptSocketGets or sets the socket that is used to accept incoming connections.
BufferGets a buffer that can be used when receiving bytes from the client.
BytesGets or sets a byte array that can be used to store received bytes from the client.
ConnectionGets or sets the connection with the client.
RemoteBindIPGets or sets the IP address of the requested remote server.
RemoteConnectionGets or sets the connection with the remote host.

Protected Instance Methods

AddBytesAdds some bytes to a byte aray.
DisposeOverloaded. Sends a reply to the client connection and disposes it afterwards.
Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
IsValidRequestChecks whether a specific request is a valid SOCKS request or not.
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.
OnAcceptCalled when there's an incoming connection in the AcceptSocket queue.
OnDisposeBadCalled when a negative reply has been sent to the client.
OnDisposeGoodCalled when an OK reply has been sent to the client.
OnReceiveBytesCalled when we receive some bytes from the client.
OnStartAcceptCalled when the AcceptSocket should start accepting incoming connections.
ProcessRequestProcesses a SOCKS request from a client.

Internal Instance Properties

UsernameGets or sets the username of the SOCKS user.

Private Instance Fields

m_AcceptSocketHolds the value of the AcceptSocket property.
m_BufferHolds the value of the Buffer property.
m_BytesHolds the value of the Bytes property.
m_ConnectionHolds the value of the Connection property.
m_RemoteBindIPHolds the value of the RemoteBindIP property.
m_RemoteConnectionHolds the value of the RemoteConnection property.
m_UsernameHolds the value of the Username property.
SignalerHolds the address of the method to call when the SOCKS negotiation is complete.

See Also

SocksHandler Class | Org.Mentalis.Proxy.Socks Namespace