From 7f34d39930afe5f5eb369df9875728bbf8d72c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 10 Jul 2014 14:14:56 +0200 Subject: Small fix in the protocols chapter of the guide --- guide/protocols.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guide/protocols.md') 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 -- cgit v1.2.3