Branch: Tag:


2015-10-13 14:05:14 by Henrik Grubbström (Grubba) <>

Stdio.UDP: Increased paranoia in bind().

Fixes handling of close(2) failure.

1589:   <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Binds a port for receiving or transmitting UDP.</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>Either a port number or the name of a service as listed in +  <tt>/etc/services</tt>.</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>Local address to bind to.</p> + </dd>   <dt class='head--doc'><span id='p-no_reuseaddr'></span>Parameter <code class='parameter'>no_reuseaddr</code></dt>   <dd></dd><dd class='body--doc'><p>If set to <code class='expr'>1</code>, Pike will not set the <code class='expr'>SO_REUSEADDR</code> option    on the UDP port.</p>