mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
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:
parent
45f4130029
commit
47dfa4a89a
6 changed files with 221 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue