From 47dfa4a89ad1ce110a8218e43cae228302019297 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 25 Apr 2003 05:48:32 +0000 Subject: Patch by Jp Calderone: - The socket module now provides the functions inet_pton and inet_ntop for converting between string and packed representation of IP addresses. See SF patch #658327. This still needs a bit of work in the doc area, because it is not available on all platforms (especially not on Windows). --- Lib/socket.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/socket.py') diff --git a/Lib/socket.py b/Lib/socket.py index cb0181b2a6c..12f3c052d29 100644 --- a/Lib/socket.py +++ b/Lib/socket.py @@ -30,6 +30,7 @@ Special objects: SocketType -- type object for socket objects error -- exception raised for I/O errors +has_ipv6 -- boolean value indicating if IPv6 is supported Integer constants: -- cgit v1.2.3