File: README.md

package info (click to toggle)
haskell-crypton-socks 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 112 kB
  • sloc: haskell: 678; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 1,088 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
crypton-socks
=============

Originally forked from [socks-0.6.1](https://hackage.haskell.org/package/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:

* `socksConnectWithSocket` which connects to a `SocksAddress` specifying a
  `SocksHostAddress` (`SocksAddrIPV4`, `SocksAddrDomainName` or
  `SocksAddrIPV6`). The name resolution is done on the client side.
* `socksConnect` connects a new socket to a SOCKS server, with
  `socksConnectWithSocket`.
* `socksConnectName` which 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`](https://hackage.haskell.org/package/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.