Re: Bug? sockaddr structure
Roy T. Fielding (fielding@avron.ICS.UCI.EDU)
Fri, 23 Sep 1994 21:35:38 -0700
Jack Shirazi - BIU <js@bison.lif.icnet.uk> writes:
> I just noticed that the socket address structure is packed using
> "c4" - four signed chars. This should be four unsigned chars,
> "C4". On my SunOS system it seems to make no difference (i tried
> it using both formats connecting to a number of systems) but SunOS has
> a good record of automatically guessing right about these things
> - it may matter on other systems.
Drat! I'll fix that for the next release, though it should not make
any difference for a pack (unpack would be a problem, I think).
Too bad it's not the source of our socket problems -- you had my hopes
up for a second :(
......Roy Fielding ICS Grad Student, University of California, Irvine USA
<fielding@ics.uci.edu>
<URL:http://www.ics.uci.edu/dir/grad/Software/fielding>