[134] in 6.033-lab
Re: bug in useful.c
daemon@ATHENA.MIT.EDU (Kevin Fu)
Fri Mar 5 19:11:44 1999
To: Frank Dabek <fdabek@MIT.EDU>
Cc: 6.033-lab@MIT.EDU
In-Reply-To: Your message of Fri, 05 Mar 1999 15:49:14 -0500.
<199903052049.PAA12370@yorick.mit.edu>
Date: Fri, 05 Mar 1999 19:12:35 EST
From: Kevin Fu <fubob@MIT.EDU>
That's a nasty bug. Shiver. Thanks for pointing it out. I'll
forward your message to the other students and amend our distribution.
--------
Kevin E. Fu (fubob@mit.edu)
PGP key: finger fubob@monk.mit.edu
>Date: Fri, 5 Mar 1999 15:49:14 -0500
>From: Frank Dabek <fdabek@MIT.EDU>
>To: 6.033-lab-tas@MIT.EDU
>Subject: bug in useful.c
>
>TA's,
> I found a not-so-useful feature of useful.c
>
>in line 123 (asyncConnect):
>
>sin.sin_port = port;
>
>should be:
>
>sin.sin_port = htons(port);
>
>I guess this works fine on Solaris but it doesn't do so well on x86 linux
>machines. Took me a while to find that one....
>
>--Frank