Karl Heinz Buchegger wrote:
Please show me in the C++ standard where it is mentioned
that every C++ implementation has to use that.
I haven't read the 'C++ standard' on this issue but I believe this is a
networking library question and thus the question should be asked in
another group.
But having to deal with this very issue on a daily basis I suggest that
they look into XDR or CDR as an answer to the origional problem. Any OS
worth is weight will have an implimentation of one or both of these (and
you can download/compile it if its not) and the libraries 'standard'
dictates that the library will perform the correct endian conversion on
both ends of the connection for all defined types, because thats what
its for!
Now it we wanted to discuss C++ wrappers for the network libraries...
;-)