byte ordering in networks (read, write)
Posted on 2001-09-14
I'm writing a network program that communicates using sockets.
If I am using read / write functions in C programming, do I have to be concerned with byte ordering if I am sending integers, or integer arrays over?
I do know that the due to the byte ordering for different systems that may use little or big endian. But I also heard that some integer numbers are generally the same whether it's little/big endian.