>>>>> On Thu, 21 Aug 2003 19:59:55 +0530, >>>>> "C i j u O. B a b y" <[EMAIL PROTECTED]> said:
> I am writing a sample IPv6 client .I am trying to connect to an > IPv6 server with Link local ip "fe80::200:21ff:feff:b39e" .Before > caling the connect i use the getaddrinfo call to get the > socketaddress of this IP.The socket address i got from this call > is passed to the connect call .This connect return EINVAL . > I think that the reason is the scope_id in the socketaddress > structure that i get from the getaddrinfo call is not properly set > .But when i set the scope_id manually i get the socket connected > Please comment on this .If possible send me a sample client code . In the first place, it is not a good idea to use link-local addresses for an application directly. But if you really have a reason that you need to rely on link-local, section 1.3 of the KAME implementation note may help you. It is be available at the following URL: http://orange.kame.net/dev/cvsweb2.cgi/kame/IMPLEMENTATION?rev=1.352&content-type=text/x-cvsweb-markup BTW: the situation may differ among implementations. It is always helpful to specify your OS and its version concretely. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. [EMAIL PROTECTED] --------------------------------------------------------------------- The IPv6 Users Mailing List Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]
