further calls to the <tt>close</tt>
method) are allowed on a closed socket.
</p>

<p class="note">
Note: It is important to close all used sockets
once they are not needed, since, in many systems, each socket uses
a file descriptor, which are limited system resources.
Garbage-collected objects are automatically closed before
destruction, though.
</p>

<!-- getoption +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

<p class="name" id="getoption">
connected:<b>getoption()</b><br>
unconnected:<b>