Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!xylogics!bu.edu!nntp-read!joshua5 From: joshua5@bucsf.bu.edu (Jim Peters) Newsgroups: comp.unix.programmer Subject: Host->Network Byte order and the reverse Message-ID: Date: 2 Dec 90 00:29:05 GMT Sender: news@bu.edu.bu.edu Distribution: comp Organization: Boston University Computer Science Department Lines: 9 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.