diff options
author | Loïc Hoguin <[email protected]> | 2013-12-07 14:08:25 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-12-07 14:08:25 +0100 |
commit | 0770e2893f88cd50020a621e4d3b813ff8e6c58f (patch) | |
tree | db8086ef3b68ea205f69b7582334e579ff2dd907 /examples/tcp_reverse/README.md | |
parent | b0c37e853ef0600ca5b86216e427d767b6bc6126 (diff) | |
download | ranch-0770e2893f88cd50020a621e4d3b813ff8e6c58f.tar.gz ranch-0770e2893f88cd50020a621e4d3b813ff8e6c58f.tar.bz2 ranch-0770e2893f88cd50020a621e4d3b813ff8e6c58f.zip |
Fix small issues and style of the examples
Diffstat (limited to 'examples/tcp_reverse/README.md')
-rw-r--r-- | examples/tcp_reverse/README.md | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/examples/tcp_reverse/README.md b/examples/tcp_reverse/README.md index c73ae60..6a17772 100644 --- a/examples/tcp_reverse/README.md +++ b/examples/tcp_reverse/README.md @@ -1,13 +1,16 @@ -Ranch TCP Reverse -================= +Ranch TCP reverse example +========================= -This example uses a gen_server to handle a protocol to revese input. See -reverse_protocol.erl for the implementation, and documentation at -the following URL: +This example uses a `gen_server` to handle a protocol to revese input. +See `reverse_protocol.erl` for the implementation. Documentation about +this topic can be found in the guide: -http://ninenines.eu/docs/en/ranch/HEAD/guide/protocols/#using_gen_server + http://ninenines.eu/docs/en/ranch/HEAD/guide/protocols/#using_gen_server + +To try this example, you need GNU `make` and `git` in your PATH. + +To build the example, run the following command: -To build the example: ``` bash $ make ``` @@ -19,6 +22,7 @@ $ ./_rel/bin/tcp_reverse_example console ``` Then start a telnet session to port 5555: + ``` bash $ telnet localhost 5555 ``` |