updated docs

This commit is contained in:
Thijs Schreijer 2015-03-05 21:31:08 +01:00
parent a219aca07f
commit a2b64abf35
2 changed files with 9 additions and 2 deletions

View file

@ -612,7 +612,8 @@ Returns the underling socket descriptor or handle associated to the object.
</p>
<p class=return>
The descriptor or handle. In case the object has been closed, the return will be -1.
The descriptor or handle. In case the object has been closed, the return will be -1. The
constant <tt>socket._SOCKETINVALID</tt> is the OS value for invalid sockets.
</p>
<p class=note>
@ -628,7 +629,7 @@ server:<b>setfd(</b>fd<b>)</b>
</p>
<p class=description>
Sets the underling socket descriptor or handle associated to the object. The current one is simply replaced, not closed, and no other change to the object state is made.
Sets the underling socket descriptor or handle associated to the object. The current one is simply replaced, not closed, and no other change to the object state is made. The constant <tt>socket._SOCKETINVALID</tt> is the OS value for invalid sockets.
</p>
<p class=return>

View file

@ -41,6 +41,12 @@
<!-- socket.udp ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<p>
The constant <tt>socket._UDPDATAGRAMSIZE</tt> is the maximum datagram size.
This can be changed at compile time. Yet, for UDP communications the end to end
connection determines when fragmentation occurs.
</p>
<p class="name" id="socket.udp">
socket.<b>udp()</b>
</p>