Thank you for your help,
  
I have confirmed that my BSD api supports the sin6_scope_id field in
the sockaddr_in6 struct. However what should be the value that I set
for the link local addresses. Currently I am probably setting ot to
zero (memcpy the entire structure zero and donot assign any thing to
it). are there any #defines that i can look up for different scope. I
have Unix Netwrok programming by W.Richards but since its published in
1998 no such info is provided in it. Please tell me what value i should
assign so that it works on link local or site local addresses!

Regards
Affan

 

--- Sukhdeep Johar <[EMAIL PROTECTED]> wrote:
> >> Some IPv6 implementations may not support link-local addresses(or
> scopes)
> This comment is wrt the BSD api support for scopes only. ( not IPv6
> stack)
> 
> >>> "Sukhdeep Johar" <[EMAIL PROTECTED]> 09/26/02 03:29PM >>>
> Did you specify the parameter sin6_scope_id also ? 
> That will be required along with the Link Local addresses. 
> 
> It also depends on what system you are using. Some IPv6
> implementations
> may not support link-local addresses(or scopes). You will have to
> check
> that.
> 
> regards,
> Sukhdeep
> 
> >>> MIP Team <[EMAIL PROTECTED]> 09/26/02 12:20PM >>>
> Hello,
>  I have encountered a very strange problem. While trying to connect
> (via a SOCK_STREAM socket) to a remote system and supplying its link
> local address (FE80:... ) the connect call failed with perror saying
> that the arguments were invalid. 
> However when i added a globally unique IP to the same remote system
> (3ffe::4f) and supplied this address to the client, the same
> client-server program worked perfectly fine.
>  My question is this: are the link local addresses somethings that
> cannot be used for communicating in the berkley API? or is there
> something that I am missing over here?
> 
> What do you people opine!
> Regards,
> Affan Ahmed
> 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com 
> ---------------------------------------------------------------------
> The IPv6 Users Mailing List
> Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED] 
> ---------------------------------------------------------------------
> The IPv6 Users Mailing List
> Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]

Reply via email to