aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tcp_echo/README.md
blob: ee8a8c8b9c46f610f76eaf554e9ed4c9cceee04f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Ranch TCP Echo
==============

To compile this example you need rebar in your PATH.

Type the following command:
```
$ rebar get-deps compile
```

You can then start the Erlang node with the following command:
```
./start.sh
```

Then start telnet as indicated and type in a few lines. Be
aware that there is a timeout of 5 seconds without receiving
data before the example server disconnects your session.