On Tue, Mar 12, 2002 at 09:38:34AM -0600, mark tinguely wrote:
>
> just a PS reminder that you need to put the IP/ports in network byte
> order. appropriate htonl() and htons() must be used if the the values
> are not already in network byte order. You may get away with not doing
> this on a Sparc (or Alpha?) because of their endian is network byte
> order.
Well... It depends. Due to the nature of the checksum algorithm, it
really doesn't matter whether the data is in host order or network
order provided all of the data is stored consistently.
--
Crist J. Clark | [EMAIL PROTECTED]
| [EMAIL PROTECTED]
http://people.freebsd.org/~cjc/ | [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message