autodoc.git / traditional_manual / chapter_9.html

version» Context lines:

autodoc.git/traditional_manual/chapter_9.html:769:   <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>This makes this file into a socket ready for connections. The reason    for this function is so that you can set the socket to nonblocking    or blocking (default is blocking) before you call <code>connect()</code>.</p>   </dd>   <dt class='head--doc'><span id='p-port'></span>Parameter <code class='parameter'>port</code></dt>   <dd></dd><dd class='body--doc'><p>If you give a port number to this function, the socket will be    bound to this port locally before connecting anywhere. This is    only useful for some silly protocols like <b>FTP</b>. The port can    also be specified as a string, giving the name of the service -  associated with the port.</p> +  associated with the port. Pass -1 to not specify a port (eg to +  bind only to an address).</p>   </dd>   <dt class='head--doc'><span id='p-address'></span>Parameter <code class='parameter'>address</code></dt>   <dd></dd><dd class='body--doc'><p>You may specify an address to bind to if your machine has many IP    numbers.</p>   </dd>   <dt class='head--doc'><span id='p-family_hint'></span>Parameter <code class='parameter'>family_hint</code></dt>   <dd></dd><dd class='body--doc'><p>A protocol family for the socket can be specified. If no family is    specified, one which is appropriate for the address is automatically    selected. Thus, there is normally no need to specify it. If you    do not want to specify a bind address, you can provide the address