Browse Source

Small fix in the protocols chapter of the guide

Loïc Hoguin 10 years ago
parent
commit
7f34d39930
1 changed files with 2 additions and 2 deletions
  1. 2 2
      guide/protocols.md

+ 2 - 2
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