scope-id

IPv6 Zone index and scope_id

How does the zone index relate to the scope_id in the sockaddr_in6 structure? The functionality appears to differ between platforms and I'd love to know how they relate. Windows for example has a SCOPE_ID structure (as well as just a 32-bit value). Mac OSX only has a 32-bit value. Obviously the 32-bit value is the way to go but how e...

Why doesn't a %en0 suffix work to connect a link-local IPv6 TCP socket in Python?

Hi all, A week or so ago someone on StackOverflow asked why their Python code for connecting to an IPv6 link-local address wasn't working, and I replied that since it was a link-local address they needed to add a %en0 (or whatever the desired local-interface-name is) suffix to their target IP address. I thought I knew what I was talkin...