Branch: Tag:


2010-05-26 13:23:36 by Henrik Grubbström (Grubba) <>

Added some extra magic to connect() when mixing IPv4 and IPv6 addresses.
Added FIXME regarding mapped IPv4 addresses to query_address().

Rev: src/modules/files/file.c:1.437

995:   <dt class='head--doc'>Returns</dt>   <dd class='body--doc'><p>This function returns the address and port of a socket end-point    on the form <code class='expr'>"x.x.x.x&nbsp;port"</code> (IPv4) or -  <code class='expr'>"x:x:x:x:x:x:x:x&nbsp;port"</code> (IPv6).</p> +  <code class='expr'>"x:x:x:x:x:x:x:x&nbsp;port"</code> (IPv6). IPv6 addresses +  may use the contracted syntax.</p>   <p> If this file is not a socket, is not connected, or some other    error occurs, <code class='expr'>0</code> (zero) is returned and <code>errno()</code> will    return the error code.</p>