socksio icon indicating copy to clipboard operation
socksio copied to clipboard

Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5

Results 7 socksio issues
Sort by recently updated
recently updated
newest added

is there any example of chaining?

Ref: https://github.com/tailscale/tailscale/issues/6144 that particular project set up a local SOCKS5A server, which sometimes responds, on upstream error, in a way that this Python client library doesn't like, which yields this...

Does support socks5h?

Most type checkers will fit `bytearray` into `bytes` automatically. However, the former is hashable but the later is **not hashable**. Our `decode_address` is a `lru_cache` function and **requires hashable inputs**....

Since it's EOL, additionally we wouldn't need https://github.com/sethmlarson/socksio/blob/master/socksio/compat.py anymore.

This is the most interesting to implement in a sans-I/O fashion while also supporting downstream consumers like aioquic.

Installing the wheel for socksio on Python 3.14 works fine, but installing from source fails due to a bug in flit_core v2. Reproduction steps: ```bash $ python -m venv socksio-env...