I am using sockets for data communication and I have this question. While sending binary data from one computer to another using TCP or UDP protocol, is it a good idea to convert the data bytes into network byte order using htonl at the receiver end and convert it back to host byte order at the receiver end using ntohl after reception?