object.
</p>


<p class="return">
Returns a string with the IP address of the peer, the
port number that peer is using for the connection,
and a string with the family ("<tt>inet</tt>" or "<tt>inet6</tt>").
In case of error, the method returns <b><tt>nil</tt></b>.
</p>

<p class="note">
Note: It makes no sense to call this method on unconnected objects.
</p>

<!-- getsockname +++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

<p class="name" id="getsockname">
connected:<b>getsockname()</b><br>
unc