[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 02748) ipv6 programming



hello,

I am trying the following:

	int sock;
	struct sockaddr_in6 addr addr;

	sock = socket(AF_INET6, SOCK_STREAM, ...)
	connect(sock, (struct sockaddr *) &addr, sizeof(addr));

If addr an ipv6-unicast all works fine.
If addr an ipv6-mapped connect reports "Network is unreachable" (at bsd
systems the code works fine)
How can I use ipv6-mapped addr with linux ?

Thank you for your efforts
Uwe