aboutsummaryrefslogtreecommitdiffstats
path: root/guide/protocols.md
diff options
context:
space:
mode:
Diffstat (limited to 'guide/protocols.md')
-rw-r--r--guide/protocols.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guide/protocols.md b/guide/protocols.md
index 6935cdc..0cf0dc1 100644
--- a/guide/protocols.md
+++ b/guide/protocols.md
@@ -28,8 +28,8 @@ ok = ranch:accept_ack(Ref).
```
If your protocol code requires specific socket options, you should
-set them while initializing your connection process and before
-starting `ranch:accept_ack/1`. You can use `Transport:setopts/2`
+set them while initializing your connection process, after
+calling `ranch:accept_ack/1`. You can use `Transport:setopts/2`
for that purpose.
Following is the complete protocol code for the example found