>Hi all,
>    Some doubts on the socket api for Ipv6.
>* When a IPV6 packet is received throught the interface "recvmsg", how to get  the
>    "zone_id" or "scope_id"  for the received Ipv6 Addr. When the "recvmsg"
>    interface is called we get a structure in6_pktinfo, which has the ipv6 address and
>    "ipi6_ifindex".... Does this "ipi6_ifindex" serve as "zone_id".
>Please clarify.

        sockaddr_in6 (which includes sin6_scope_id) will be available
        at the address specified by msg_name member in struct msghdr.

itojun
--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page:                      http://playground.sun.com/ipng
FTP archive:                      ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to