diff options
Diffstat (limited to 'docs/en/ranch/1.3/guide/protocols')
-rw-r--r-- | docs/en/ranch/1.3/guide/protocols/index.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/en/ranch/1.3/guide/protocols/index.html b/docs/en/ranch/1.3/guide/protocols/index.html index d42e9d7d..513602aa 100644 --- a/docs/en/ranch/1.3/guide/protocols/index.html +++ b/docs/en/ranch/1.3/guide/protocols/index.html @@ -77,7 +77,7 @@ which defines a single callback, <code>start_link/4</code>. This callback is responsible for spawning a new process for handling the connection. It receives four arguments: the name of the listener, the socket, the transport handler being used and the protocol options defined in -the call to <code>ranch:start_listener/5</code>. This callback must +the call to <code>ranch:start_listener/6</code>. This callback must return <code>{ok, Pid}</code>, with <code>Pid</code> the pid of the new process.</p></div> <div class="paragraph"><p>The newly started process can then freely initialize itself. However, it must call <code>ranch:accept_ack/1</code> before doing any socket operation. @@ -221,6 +221,8 @@ http://www.gnu.org/software/src-highlite --> + <li><a href="/docs/en/ranch/1.4/guide">1.4</a></li> + <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li> <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li> |