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).
This commit is contained in:
Guido van Rossum 2003-04-25 05:48:32 +00:00
parent 45f4130029
commit 47dfa4a89a
6 changed files with 221 additions and 1 deletions

View file

@ -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: