aboutsummaryrefslogtreecommitdiffstats
path: root/guide/introduction.md
blob: c63eaefab5d50ddb852d3d3eac9fa7da4983d525 (plain) (blame)
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
Introduction
============

Purpose
-------

Ranch is a socket acceptor pool for TCP protocols.

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.

Prerequisites
-------------

It is assumed the developer already knows Erlang and has some experience
with socket programming and TCP protocols.

In order to run the examples available in this user guide, you will need
Erlang and rebar installed and in your $PATH.

Please see the [rebar repository](https://github.com/basho/rebar) for
downloading and building instructions. Please look up the environment
variables documentation of your system for details on how to update the
$PATH information.