wim sturkenboom
Well-known member
Not sure where to post this; if in the wrong section, please move.
I'm writing a server that receives data from a client. The client spec states that integers are transmitted in "network byte order".
The first 4 bytes in my received data represent an (unsigned) 32 bit integer and are show below. Question is what the decimal representation of the received integer is assuming it is in network byte order?
The value is supposed to be '2', but that does not match the "network byte order"; unless I got it totally wrong. Thanks in advance for reading and advise.
I'm writing a server that receives data from a client. The client spec states that integers are transmitted in "network byte order".
The first 4 bytes in my received data represent an (unsigned) 32 bit integer and are show below. Question is what the decimal representation of the received integer is assuming it is in network byte order?
C#:
02 00 00 00
The value is supposed to be '2', but that does not match the "network byte order"; unless I got it totally wrong. Thanks in advance for reading and advise.