Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 1995 13:57:00 -0500
From:      Chuck Bacon <crtb@upcoming.dcrt.nih.gov>
To:        questions@FreeBSD.org
Subject:   getservent returns a s_portno which is a byteswapped short
Message-ID:  <199502161857.NAA23962@upcoming.dcrt.nih.gov>

next in thread | raw e-mail | index | archive | help
And yet <netdb.h> proclaims it an int, and the getservent man page
explains that it's in "network byte order."  I assume that means a
big-endian format.  Or has this int been half-word-swapped?

	Chuck Bacon -- crtb@helix.nih.gov (or upcoming.dcrt.nih.gov)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502161857.NAA23962>