summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-04-25 05:48:32 (GMT)
committerGuido van Rossum <guido@python.org>2003-04-25 05:48:32 (GMT)
commit47dfa4a89ad1ce110a8218e43cae228302019297 (patch)
tree1bd9ec116ee42905854d5cb59fdacc00a432e322 /Lib/socket.py
parent45f41300298ca522fba9366989317f34a2d7e2db (diff)
downloadcpython-47dfa4a89ad1ce110a8218e43cae228302019297.zip
cpython-47dfa4a89ad1ce110a8218e43cae228302019297.tar.gz
cpython-47dfa4a89ad1ce110a8218e43cae228302019297.tar.bz2
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).
Diffstat (limited to 'Lib/socket.py')
-rw-r--r--Lib/socket.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/socket.py b/Lib/socket.py
index cb0181b..12f3c05 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: