netdev
[Top] [All Lists]

RE: Linux IPv6 Bind failure with Invalid Argument

To: "'YOSHIFUJI Hideaki / ????'" <yoshfuji@xxxxxxxxxx>, arif7290@xxxxxxxxxxx
Subject: RE: Linux IPv6 Bind failure with Invalid Argument
From: "Hossain, Mohammad" <m_hossain@xxxxxxxxxxxx>
Date: Fri, 19 Apr 2002 12:04:09 -0700
Cc: netdev@xxxxxxxxxxx
Sender: owner-netdev@xxxxxxxxxxx
Hello Hideaki,
  It seems my IPv6 address has link scope only.
  What value should be put in the scope id to pass the bind call? 
  Is it because of the address has scope link???

 Thanks
 Arif

-----Original Message-----
From: yoshfuji@xxxxxxxxxx [mailto:yoshfuji@xxxxxxxxxx]
Sent: Friday, April 19, 2002 11:52 AM
To: arif7290@xxxxxxxxxxx
Cc: netdev@xxxxxxxxxxx
Subject: Re: Linux IPv6 Bind failure with Invalid Argument


In article <F241xbWbsAyTabSMvfR0001924a@xxxxxxxxxxx> (at Fri, 19 Apr 2002
18:29:53 +0000), "Md Arif" <arif7290@xxxxxxxxxxx> says:

>    Would you pls help me out in this regard. I am getting Bind failure
with 
> error inValid argument Linux IPv6 machine(Kernel 2.4.7)
>    Same code works in Solaris IPv6.
>    Where is is bug?????

please set sin6_scope_id in the sockaddr_in6{}.

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

<Prev in Thread] Current Thread [Next in Thread>