autodoc.git / traditional_manual / chapter_9.html

version» Context lines:

autodoc.git/traditional_manual/chapter_9.html:57:   <dd></dd><dd class='body--doc'><p>Function to be called on completion.    The first argument will be <code class='expr'>1</code> if a connection was    successfully established, and <code class='expr'>0</code> (zero) on failure.    The rest of the arguments to <code>callback</code> are passed    verbatim from <code>args</code>.</p>   </dd>   <dt class='head--doc'><span id='p-args'></span>Parameter <code class='parameter'>args</code></dt>   <dd></dd><dd class='body--doc'><p>Extra arguments to pass to <code>callback</code>.</p>   </dd>   <dt class='head--doc'>Returns</dt> - <dd class='body--doc'><p>Returns <code class='expr'>0</code> on failure, and <code class='expr'>1</code> if <code>callback</code> -  will be used.</p> + <dd class='body--doc'><p>Returns <code class='expr'>0</code> on failure to open a socket, and <code class='expr'>1</code> +  if <code>callback</code> will be used.</p>   </dd>   <dt class='head--doc'>Note</dt>   <dd class='body--doc'><p>The socket may be opened with <code>open_socket()</code> ahead of    the call to this function, but it is not required.</p>   </dd>   <dt class='head--doc'>Note</dt>   <dd class='body--doc'><p>This object is put in callback mode by this function. For    <code>callback</code> to be called, the backend must be active. See e.g.    <code>set_read_callback</code> for more details about backends and    callback mode.</p>