[kaffe] some IPv6-related problem?

Ito Kazumitsu kaz@maczuka.gcd.org
Sun Nov 2 14:48:01 2003


Hi,

>>>>> ":" == Guilhem Lavaux <guilhem@kaffe.org> writes:

:> When I modified PlainDatagramSocketImpl.c I feared that sort of things may happen.
:> What happens if you modify the call in KSOCKET(AF_INET6, 0, &fd), does it work ?

Unfortunately, No.

I will study this case further.  For now I have found that
in libraries/clib/net/PlainSocketImpl.c

   r = KBIND(fd, (struct sockaddr*)&addr, sizeof(addr));

returns EINVAL (Invalid argument) and address family used here is
AF_INET and not AF_INET6.