more getaddrinfo weirdness

Trent Lloyd trent at irc-desk.net
Thu Feb 27 04:33:17 EST 2003


When a IPv4 address is returned, the address tuple contains 2 fields 
(address, port) but when an IPv6 address comes back it has 4 fields 
(address, port, 0, 0)
0 and 0 are obviously both 0 and i am unsure of there meanings
Bit annoying when you try
address, port = addr

There doesnt seem to be any mention in the docs, am i missing something?






More information about the Python-list mailing list