diff options
author | Loïc Hoguin <[email protected]> | 2014-07-10 14:14:56 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-07-10 14:14:56 +0200 |
commit | 7f34d39930afe5f5eb369df9875728bbf8d72c5d (patch) | |
tree | b0d733b117e09b88f23808d2ab65cfa9a8a3c2f4 /guide | |
parent | 1080b3a173b881f79d7cfd65cea572036ba35fe6 (diff) | |
download | ranch-7f34d39930afe5f5eb369df9875728bbf8d72c5d.tar.gz ranch-7f34d39930afe5f5eb369df9875728bbf8d72c5d.tar.bz2 ranch-7f34d39930afe5f5eb369df9875728bbf8d72c5d.zip |
Small fix in the protocols chapter of the guide
Diffstat (limited to 'guide')
-rw-r--r-- | guide/protocols.md | 4 |
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 |