[comp.unix.programmer] Host->Network Byte order and the reverse

joshua5@bucsf.bu.edu (Jim Peters) (12/02/90)

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.