@hackage crypton-socks0.6.2
SOCKS Protocol Version 5
Categories
License
BSD-3-Clause
Maintainer
Mike Pilgrem <public@pilgrem.com>, Kazu Yamamoto <kazu@iij.ad.jp>
Links
Versions
Installation
Dependencies (4)
- base >=3 && <5
- bytestring
- cereal >=0.3.1
- network >=2.6 Show all…
Dependents (1)
@hackage/crypton-connection
Package Flags
example
(off by default)
Build the example application.
network-3-0-0-0
(on by default)
Use network-3.0.0.0 or later. If used the example application has a dependency on network-bsd.
crypton-socks
Originally forked from socks-0.6.1.
Haskell library implementing the SOCKS Protocol Version 5.
Usage
See example/Example.hs for really simple and straighforward examples. The
main API of the library is three functions:
socksConnectWithSocketwhich connects to aSocksAddressspecifying aSocksHostAddress(SocksAddrIPV4,SocksAddrDomainNameorSocksAddrIPV6). The name resolution is done on the client side.socksConnectconnects a new socket to a SOCKS server, withsocksConnectWithSocket.socksConnectNamewhich connects to a fully qualified domain name (FQDN) (for example,www.example.com). The name resolution is done by the proxy server.
History
The socks package was originated
and then maintained by Vincent Hanquez. For published reasons, he does not
intend to develop the package further after version 0.6.1 but he also does not
want to introduce other maintainers.