I developed a ton of code on a Solaris machine in c++ hoping to save time by not waiting for my linux machine to arrive. It has several hundred structured messages of varying length from 28 bytes to 2048 bytes, with varying data types. unsigned char unsigned short unsigned int unsigned long These messages get populated and sent out a socket to big endian firmware. When I received the linux machine I find that it is little endian. I must convert each data type individually before it goes on the socket. Does anyone know of any reliable code that exists that I can easily plug into my application?
I know about the htols functions etc, I was wondering if someone had implemented a conversion class or something similar. Thanks _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus