Loïc Hoguin 109c63d0e7 Remove ranch_listener and replace ListenerPid by Ref 12 лет назад
..
src 109c63d0e7 Remove ranch_listener and replace ListenerPid by Ref 12 лет назад
README.md bfa353f8e7 Add a TCP Echo protocol example 12 лет назад
rebar.config bfa353f8e7 Add a TCP Echo protocol example 12 лет назад
start.sh bfa353f8e7 Add a TCP Echo protocol example 12 лет назад

README.md

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.