ername</tt></a>,
<a href="#setsockname"><tt>setsockname</tt></a>, and
<a href="#close"><tt>close</tt></a>.
The <a href="#setpeername"><tt>setpeername</tt></a>
is used to connect the object.
</p>

<p class="return">
In case of success, a new unconnected UDP object
returned. In case of error, <b><tt>nil</tt></b> is returned, followed by
an error message.
</p>

<p class="note">
Note: The choice between IPv4 and IPv6 happens during a call to
<a href="#sendto"><tt>sendto</tt></a>, <a
href="#setpeername"><tt>setp