Socks proxy (version 5) implementation.

LTS Haskell 8.11:0.5.5
Stackage Nightly 2017-04-22:0.5.5
Latest on Hackage:0.5.5
BSD3 licensed and maintained by Vincent Hanquez

Module documentation for 0.5.5


Haskell library implementation of the SOCKS 5 protocol.


  • 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.


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 "". The proxy server will do the name resolution.
comments powered byDisqus