
## SocksProxy class

SOCKS proxy client.<br/>            Supported versions of the protocol are SOCKS4 and SOCKS5.

The SocksProxy type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|SocksProxy(address, port)|Initializes a new instance of the SocksProxy class|
|SocksProxy(address, port, version)|Initializes a new instance of the SocksProxy class|
|SocksProxy(address, port, user_id)|Initializes a new instance of the SocksProxy class|
|SocksProxy(address, port, username, password)|Initializes a new instance of the SocksProxy class|
## Properties
| Name | Description |
| :- | :- |
|address|The domain name or IP address of the proxy server|
|port|The port number for the proxy server|
|username|Username for proxy authentication|
|password|Password for proxy authentication|
|version|Required SOCKS server version.|
|supported_authentication_methods|The supported authentication methods to connect to SOCKS server|
## Methods
| Name | Description |
| :- | :- |
|get_stream(address, port)|  |
|set_up_stream(stream, address, port)|  |

### See Also

* namespace [aspose.email.clients](/email/python-net/aspose.email.clients/)
* assembly [Aspose.Email](/email/python-net/)

