txtorcon.socks
Module¶
SOCKS5 Errors¶
AddressTypeNotSupportedError¶
- class txtorcon.socks.AddressTypeNotSupportedError(message='', code=None)¶
Note
The following sections present low-level APIs. If you are able
to work with txtorcon.Tor
’s corresponding high-level
APIs, you should do so.
resolve¶
- txtorcon.socks.resolve(tor_endpoint, hostname)¶
This is easier to use via
txtorcon.Tor.dns_resolve()
- Parameters
tor_endpoint – the Tor SOCKS endpoint to use.
hostname – the hostname to look up.