BSD-3-Clause licensed and maintained by Vincent Hanquez

Module documentation for 0.6.0

This version can be pinned in stack with:socks-0.6.0@sha256:0a8cb66649b8aa5a743234a7a2ab153b46cb7c486a12ff2b7e822d7f46ae42e7,1258

Socks

Haskell library implementation of the SOCKS 5 protocol.

TODO

  • more socks authentification methods: only no authentification is supported for now.
  • support of socks’ bind for server to client connection (like FTP).
  • add socks4a and socks4 support.

Usage

See Example.hs for really simple and straighforward example. The main api is only 2 calls:

  • socksConnectAddr which connect to a SockAddr (SockAddrInet or SockAddrInet6). The name resolution is left on client side.
  • socksConnectName which connect to a fully qualified domain name “www.example.com”. The proxy server will do the name resolution.
Used by 2 packages in nightly-2019-08-29(full list with versions):
comments powered byDisqus