home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!cup.portal.com!Lee_Robert_Willis
- From: Lee_Robert_Willis@cup.portal.com
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: What is htonl() ?
- Message-ID: <72313@cup.portal.com>
- Date: Wed, 23 Dec 92 17:48:34 PST
- Organization: The Portal System (TM)
- Distribution: world
- References: <72250@cup.portal.com>
- Lines: 10
-
- 'htonl()' is "host-to-network-long", a function designed to convert
- the host computer's format of a 'long' into the standard network
- long format. This is a function designed to eliminate incompatibilities
- between big-endian and little-endian machines.
-
- You can get away with ignoring this call if you're not porting to
- a non-Amiga, because "network" format is the same as 680x0 format.
- On 680x0 machines, htonl() is a no-op.
-
- Lee Lee_Robert_Willis@cup.portal.com
-