raw ipv6 sockets - sin6_scope_id field
hello, what should be filled in the sin6_scope_id field of the sockaddr_in6 structure ? Is it the interface index ? If yes, how do I determine the interface index of my ethernet card ? ifconfig says: Scope:Link ------ I need it bcoz I'm trying to send a msg over raw ipv6 sockets and the sendto() function gives the following error at run-time: invalid argument ------- Does anyone know of pointers to example programs for ipv6 raw sockets ? waiting for QUICK responses, thanks in advance. --------------------------------- Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax
Ah.. from a yahoo-account.. I spot a certain style... It's time for DDoS in IPv6 now? On Mon, Apr 08, 2002 at 08:05:44AM -0700, user user wrote:
hello,
what should be filled in the sin6_scope_id field of the sockaddr_in6 structure ? Is it the interface index ? If yes, how do I determine the interface index of my ethernet card ? ifconfig says: Scope:Link
------
I need it bcoz I'm trying to send a msg over raw ipv6 sockets and the sendto() function gives the following error at run-time: invalid argument -------
Does anyone know of pointers to example programs for ipv6 raw sockets ?
waiting for QUICK responses, thanks in advance.
participants (2)
-
Robert Martin-Legène -
user user