Host->Network Byte order and the reverse

Jim Peters joshua5 at bucsf.bu.edu
Sun Dec 2 11:29:05 AEST 1990


Before I get bogged down in the nasty details, does anyone have a pair of
C functions that will convert the bytes of a structure from host to network
order and back?  It would be best if it could run under Sun4/3, Umax
4.2/4.3 and Ultrix. 


			Thanks, 

			 Jim.



More information about the Comp.unix.programmer mailing list