networks

How to determine the Endianness of your PC

While studying networks I came across two system calls namely ntoh(s/l) hton(s/l) Both of the above are related to byte ordering done in the network layer ntoh(s/l) It is used by host to convert a packet from network byte order to host byte order.

How to determine the Endianness of your PC

While studying networks I came across two system calls namely ntoh(s/l) hton(s/l) Both of the above are related to byte ordering done in the network layer ntoh(s/l) It is used by host to convert a packet from network byte order to host byte order.