-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Socks proxy (version 5) implementation. -- -- Socks proxy (version 5) implementation. @package socks @version 0.2.0 module Network.Socks5 -- | connect a new socket to the socks server, and connect the stream on -- the server side to the sockaddr specified. the sockaddr need to be -- SockAddrInet or SockAddrInet6. -- -- a unix sockaddr will raises an exception. -- -- -- |socket|-----sockServer----->|server|----destAddr----->|destination| socksConnectAddr :: Socket -> SockAddr -> SockAddr -> IO () -- | connect a new socket to the socks server, and connect the stream to a -- FQDN resolved on the server side. socksConnectName :: Socket -> SockAddr -> String -> PortNumber -> IO () -- | similar to Network connectTo but use a socks proxy. socksConnectTo :: String -> PortID -> String -> PortID -> IO Handle