This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author exarkun
Recipients
Date 2002-12-24.21:00:22
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Patch is against current CVS and adds two socket module
functions, inet_pton and inet_ntop.  Both of these
should be available on all platforms (because of other
dependancies in the code) so I don't think portability
is a problem.  inet_ntop converts a packed IP address
to a human-readable '.' or ':' separated string
representation of the IP.  inet_pton performs the
reverse operation.

(Potential) problems: inet_pton sets errno to ENOSPC,
which may lead to a confusing error message.
History
Date User Action Args
2007-08-23 15:19:10adminlinkissue658327 messages
2007-08-23 15:19:10admincreate