Hi all,
  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 .
 
Thanks in advance for all the replies .
 
Regards
Ciju O. Baby

Reply via email to