mirror https://github.com/ninenines/ranch

Loïc Hoguin 6526c9a1fa Use ci.erlang.mk to track tested OTP versions 7 years ago
doc 2730f71887 Deprecated ranch:start_listener/6 and child_spec/6 8 years ago
ebin 166c871cde Update to Ranch 1.4.0 8 years ago
examples 2730f71887 Deprecated ranch:start_listener/6 and child_spec/6 8 years ago
src 55c2a9d623 Update Copyright to 2017 8 years ago
test 55c2a9d623 Update Copyright to 2017 8 years ago
.gitignore 98908c894a Update .gitignore 8 years ago
CHANGELOG.asciidoc 25c1bdbb86 Update CHANGELOG 8 years ago
LICENSE 55c2a9d623 Update Copyright to 2017 8 years ago
Makefile 6526c9a1fa Use ci.erlang.mk to track tested OTP versions 7 years ago
README.asciidoc 67db4c0143 Tweak the README 7 years ago
erlang.mk f4f297cc9c Update Erlang.mk 8 years ago

README.asciidoc

= Ranch

Ranch is a socket acceptor pool for TCP protocols.

== Goals

Ranch aims to provide everything you need to accept TCP connections with
a *small* code base and *low latency* while being easy to use directly
as an application or to *embed* into your own.

Ranch provides a *modular* design, letting you choose which transport
and protocol are going to be used for a particular listener. Listeners
accept and manage connections on one port, and include facilities to
limit the number of *concurrent* connections. Connections are sorted
into *pools*, each pool having a different configurable limit.

Ranch also allows you to *upgrade* the acceptor pool without having
to close any of the currently opened sockets.

== Online documentation

* https://ninenines.eu/docs/en/ranch/1.4/guide[User guide]
* https://ninenines.eu/docs/en/ranch/1.4/manual[Function reference]

== Offline documentation

* While still online, run `make docs`
* User guide available in `doc/` in PDF and HTML formats
* Function reference man pages available in `doc/man3/` and `doc/man7/`
* Run `make install-docs` to install man pages on your system
* Full documentation in Asciidoc available in `doc/src/`
* Examples available in `examples/`

== Getting help

* Official IRC Channel: #ninenines on irc.freenode.net
* https://github.com/ninenines/ranch/issues[Issues tracker]
* https://ninenines.eu/services[Commercial Support]