----------------original message-----------------
De: "Jan-Benedict Glaw" jbg...@lug-owl.de
A: "Xavier Grave" gr...@ipno.in2p3.fr, 564...@bugs.debian.org
Date: Sat, 9 Jan 2010 11:24:15 +0100
-------------------------------------------------
 
>> 
>> sin.sin_port = 5786;

> `errno' should contain more detailed information about why it failed.
> Also, keep in mind that "sin.sin_port = 5786" is probably not what you
> want, think of network byte order! Sparc and PPC are big endian and I
> guess that amd64 is little endian.

changing
sin.sin_port = 5786;
to
sin.sin_port = htons (5786);
doesn't change results on kfreebsd amd64 arch





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to