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?