--
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of O.R.Senthil Kumaran
> Sent: Monday, September 17, 2007 10:08 PM
> To: python-dev@python.org
> Subject: [Python-Dev] IPv6 hostname resolution using
> socket.getaddrinfo()
>
> To get the hostname, I can
L PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of O.R.Senthil Kumaran
Sent: Monday, September 17, 2007 10:08 PM
To: python-dev@python.org
Subject: [Python-Dev] IPv6 hostname resolution using
socket.getaddrinfo()
To get the hostname, I can use socket.gethostbyname() but that has an
inherent
> Any help/ pointers?
Did you read the man page of getaddrinfo, or the RFC?
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python
Senthil> To get the hostname, I can use socket.gethostbyname() but that
Senthil> has an inherent limitation wherein does it not support IPv6
Senthil> name resolution, and getaddrinfo() should be used instead.
...
For those who would ask Senthil to take this to comp.lang.python, he
To get the hostname, I can use socket.gethostbyname() but that has an
inherent limitation wherein does it not support IPv6 name resolution, and
getaddrinfo() should be used instead.
Looking up the socket.getaddrinfo() documentation, I come to know that
The getaddrinfo() function returns a list of