delorie.com/archives/browse.cgi | search |
Erik Hensema wrote: > [...] > You should use the htons() and htonl() functions on win32 in order to > correct the little/big endian problem. Paranoid correction: Use htons/htonl and ntohs/ntohl not only on win32 but on _each_ system! If you ignore it only because you know, that the endian problem doesn't exist on your system (by chance), you'll never get portable code. Regards, Corinna -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |