The ByteOrder property is used to specify how 16-bit
(short) integer and 32-bit (long) integer data is written to and read
from the socket. The default value for this property is 0, which
specifies that integers should be written in the native byte order
for the local machine. A value of 1 indicates that integers should be
written in network byte order.
When applications write integer values on a socket (instead of
string representations of those values), they should typically be
converted to network byte order before they are sent. Likewise, when
an integer value is read, it should then be converted from the
network byte order back to the byte order used by the local machine.
The native byte order, also called the host byte order, should only
be used if it can be assured that both the sender and the receiver
are running on an identical or compatible machine architectures (for
example, if both systems are Intel-based).
This property will affect how data is read by the Read
method and by the Write method, if the Variant data that is
being read or written is recognized as integer data.