Message121174
(socket.gethostbyname doesn't return an ipv6 address)
So just to start with I know the documentation says [0] "and getaddrinfo() should be used instead for IPv4/v6 dual stack support."
However, the getaddrinfo() method provides more information than required. Why can't getaddrinfo support ipv6 ? or a method for ipv6 added to the socket module to make getting a host address by name easier (for ipv6) ?
[0] - http://docs.python.org/library/socket.html#socket.gethostbyname |
|
Date |
User |
Action |
Args |
2010-11-14 04:35:19 | asdfasdfasdfasdfasdfasdfasdf | set | recipients:
+ asdfasdfasdfasdfasdfasdfasdf |
2010-11-14 04:35:18 | asdfasdfasdfasdfasdfasdfasdf | set | messageid: <1289709318.9.0.235139859689.issue10414@psf.upfronthosting.co.za> |
2010-11-14 04:35:17 | asdfasdfasdfasdfasdfasdfasdf | link | issue10414 messages |
2010-11-14 04:35:17 | asdfasdfasdfasdfasdfasdfasdf | create | |
|