# Module Uq_socks5

    module Uq_socks5: sig .. end

This module implements a SOCKS version 5 client (see RFC 1928) for use with the `Uq_engines.connector`, `Uq_engines.listener`, and `Uq_engines.datagram_provider` engine factories.

This implementation supports IPv4 and IPv6.

    exception Socks_error of string

Raised when error messages of the SOCKS proxy are received, or because of other SOCKS-related problems.

    class proxy_client : Uq_engines.connect_address -> object .. end

The object created by `new proxy_client addr` can be passed as `proxy` to the `Uq_engines.connector`, `Uq_engines.listener`, and `Uq_engines.datagram_provider` functions to use the SOCKS proxy for connections, servers, and datagram socket, respectively.