On Thursday 26 September 2002 09:50, MIP Team wrote: > 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?
You missed to specify the network interface. It is perfectly legal for two NICs to have same link-local addresses. Under linux, the socket is bound to an interface using the SO_BINDTODEVICE socket option. After this the link-local addresses can be used. For other systems, I don't know. -- -Jaakko Kyr� --------------------------------------------------------------------- The IPv6 Users Mailing List Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]
