The methods of the SocksClient class are listed below. For a complete list of SocksClient class members, see the SocksClient Members topic.
Public Instance Methods
| Dispose (inherited from Client) | Disposes of the resources (other than memory) used by the Client. |
| 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. |
| StartHandshake | Starts communication with the client. |
| StartRelay (inherited from Client) | Starts relaying data between the remote host and the local client. |
| ToString | Returns text information about this SocksClient object. |
Protected Instance Methods
| 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. |
| OnClientReceive (inherited from Client) | Called when we have received data from the local client. Incoming data will immediately be forwarded to the remote host. |
| OnClientSent (inherited from Client) | Called when we have sent data to the local client. When all the data has been sent, we will start receiving again from the remote host. |
| OnRemoteReceive (inherited from Client) | Called when we have received data from the remote host. Incoming data will immediately be forwarded to the local client. |
| OnRemoteSent (inherited from Client) | Called when we have sent data to the remote host. When all the data has been sent, we will start receiving again from the local client. |
Private Instance Methods
| OnEndSocksProtocol | Called when the SOCKS protocol has ended. We can no start relaying data, if the SOCKS authentication was successful. |
| OnStartSocksProtocol | Called when we have received some data from the client. |