(usagi-users 03293) Re: Why can't I use getaddrinfo() with a link-scoped address?
YOSHIFUJI Hideaki / 吉藤英明 <[email protected]>
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Organization | USAGI Project |
| Message-ID | <[email protected]> |
In article <[email protected]> (at Thu, 7 Apr 2005 22:46:38 -0700 (PDT)), Patrick Lam <[email protected]> says: > I am trying to use getaddrinfo() to get the link-local > interface info. However, it always complains that: : > Am I not supposed to use getaddrinfo() with a > link-scoped address? Yes, you are, and for connect()/bind() usage, you need to specify scope-id; e.g. fe80::1%eth0 --yoshfuji