SocksProxy

SocksProxy class

SOCKS proxy client.
Supported versions of the protocol are SOCKS4 and SOCKS5.

The SocksProxy type exposes the following members:

Constructors

NameDescription
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

NameDescription
addressThe domain name or IP address of the proxy server
portThe port number for the proxy server
usernameUsername for proxy authentication
passwordPassword for proxy authentication
versionRequired SOCKS server version.
supported_authentication_methodsThe supported authentication methods to connect to SOCKS server

Methods

NameDescription
get_stream(address, port)
set_up_stream(stream, address, port)

See Also