how to bind a link local address to an ipv6 socket

Posted by Haiyuan Zhang on Stack Overflow See other posts from Stack Overflow or by Haiyuan Zhang
Published on 2010-03-17T08:58:16Z Indexed on 2010/03/17 9:01 UTC
Read the original article Hit count: 304

Filed under:
|
|

This thread can be treated as a sister thread of this. It's will be very tedious that when you want to bind a link local adress to a ipv6 socket you need to the set sin6_scope_id field of sockaddr_in6 struct as well. I'm wondering if someone can provide a good practise like solution here for me or anyone who interested in this topic to learn from.

© Stack Overflow or respective owner

Related posts about c

    Related posts about IPv6