* [ECOS] How to find scope_id for an interface?
@ 2012-01-19 22:06 Grant Edwards
2012-01-19 23:28 ` [ECOS] " Grant Edwards
0 siblings, 1 reply; 2+ messages in thread
From: Grant Edwards @ 2012-01-19 22:06 UTC (permalink / raw)
To: ecos-discuss
I'm trying to figure out how to connect to an IPv6 link-local address,
but I don't know what the value of sin_scope_id is supposed to be for
the interface in question. I took a guess that it was a small integer
(I only have two interfaces, including the local interface), but
nothing I've tried works.
How do I find the scope_id for a my Ethernet interface?
--
Grant Edwards grant.b.edwards Yow! ... this must be what
at it's like to be a COLLEGE
gmail.com GRADUATE!!
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ECOS] Re: How to find scope_id for an interface?
2012-01-19 22:06 [ECOS] How to find scope_id for an interface? Grant Edwards
@ 2012-01-19 23:28 ` Grant Edwards
0 siblings, 0 replies; 2+ messages in thread
From: Grant Edwards @ 2012-01-19 23:28 UTC (permalink / raw)
To: ecos-discuss
On 2012-01-19, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> I'm trying to figure out how to connect to an IPv6 link-local address,
> but I don't know what the value of sin_scope_id is supposed to be for
> the interface in question. I took a guess that it was a small integer
> (I only have two interfaces, including the local interface), but
> nothing I've tried works.
Doh! Never mind.
The sockaddr_in6 len field was wrong. I have a single Ethernet
interface, and I expected it to be scope_id 0 or 1, and it is indeed
1.
--
Grant Edwards grant.b.edwards Yow! A can of ASPARAGUS,
at 73 pigeons, some LIVE ammo,
gmail.com and a FROZEN DAQUIRI!!
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-19 23:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-19 22:06 [ECOS] How to find scope_id for an interface? Grant Edwards
2012-01-19 23:28 ` [ECOS] " Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).