<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>

<!-- socket.udp ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

<p class="name" id="socket.udp6">
socket.<b>udp6()</b>
</p>

<p class="description">
Creates and returns an unconnected IPv6 UDP object.
Unconnected objects support the
<a href="#sendt