aboutsummaryrefslogtreecommitdiffstats
path: root/guide/listeners.md
diff options
context:
space:
mode:
Diffstat (limited to 'guide/listeners.md')
-rw-r--r--guide/listeners.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/guide/listeners.md b/guide/listeners.md
index a941c22..4d01544 100644
--- a/guide/listeners.md
+++ b/guide/listeners.md
@@ -56,9 +56,8 @@ examples directory. To do so, open a shell in the `examples/tcp_echo/`
directory and run the following commands:
``` bash
-% rebar get-deps compile
-% ./start.sh
-Listening on port 5555
+$ make
+$ ./_rel/bin/tcp_echo console
```
You can then connect to it using telnet and see the echo server reply
@@ -67,7 +66,7 @@ the `Ctrl+]` key to escape to the telnet command line and type
`quit` to exit.
```
-% telnet localhost 5555
+$ telnet localhost 5555
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.