HTONL Socket connection problems

Olivier Oeuillot olivier at sumba.com
Tue Jul 22 07:25:02 PDT 1997


I think there are some  'htonl' missing in

/kaffe-0.9.1/packages/tjwassoc.co.uk/APInet/libjava.net/PlainSocketImpl.c

Bind, Accept  don't work fine with INTEL platform . (Linux)

Line 101 :   [Bind]
                addr.sin_addr.s_addr = htonl(unhand(laddr)->address);

Line 157 :   [Accept]
                addr.sin_addr.s_addr =
htonl(unhand(unhand(sock)->address)->address);

and it worked for me ....

Regards,

Olivier



More information about the kaffe mailing list