Hi, On Tue, 5 Dec 2006, Gerhard Jaeger wrote: > On Monday 04 December 2006 21:59, Alessandro Zummo wrote: > BTW: In the Plustek backend, I use this macro > #define _SWAP(x,y) { (x)^=(y); (x)^=((y)^=(x));}
If they are suitable for you then htons, htonl, etc should be pretty ubiquitous across OS's. cheers, Jon ====================== Jon Chambers ===================== http://www.jon.demon.co.uk, 020 8575 7097, 07931 961669 =========================================================