BSD-3-Clause licensed and maintained by Vincent Hanquez

Module documentation for 0.5.4

This version can be pinned in stack with:[email protected]:33e39b2d747817d8a487f10bd3dcc46f789e3066dde07565b39f1d703f8545da,1198
  • Network
    • Network.Socks5
      • Network.Socks5.Lowlevel
      • Network.Socks5.Types


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.
Used by 1 package in lts-0.7(full list with versions):