From a2b64abf3551fdc43f1f2f3310f563171a94191b Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Thu, 5 Mar 2015 21:31:08 +0100 Subject: [PATCH] updated docs --- doc/tcp.html | 5 +++-- doc/udp.html | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/tcp.html b/doc/tcp.html index 4226d78..9fa9ec2 100644 --- a/doc/tcp.html +++ b/doc/tcp.html @@ -612,7 +612,8 @@ Returns the underling socket descriptor or handle associated to the object.

-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 socket._SOCKETINVALID is the OS value for invalid sockets.

@@ -628,7 +629,7 @@ server:setfd(fd)

-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 socket._SOCKETINVALID is the OS value for invalid sockets.

diff --git a/doc/udp.html b/doc/udp.html index e5b0ad0..4de1013 100644 --- a/doc/udp.html +++ b/doc/udp.html @@ -41,6 +41,12 @@ +

+The constant socket._UDPDATAGRAMSIZE 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. +

+

socket.udp()