The following list of macros are used to convert between host representation and network byte order. 
◆ _htonl
      
        
          | #define _htonl | 
          ( | 
            | 
          m | ) | 
             (uint32)(((uint32)(m << 24)) | ((uint32)((m & 0x0000FF00) << 8)) | ((uint32)((m & 0x00FF0000) >> 8)) | ((uint32)(((uint32)m) >> 24))) | 
        
      
 
Convert a 4-byte integer from Host representation to Network byte order (Host is LE). 
Definition at line 268 of file socket.h.
 
 
◆ _htons
Convert a 2-byte integer (short) from Host representation to Network byte order (Host is LE). 
Definition at line 276 of file socket.h.
 
 
◆ _ntohl
Convert a 4-byte integer from Network byte order to Host representation. 
Definition at line 284 of file socket.h.
 
 
◆ _ntohs
Convert a 2-byte integer from Network byte order to Host representation. 
Definition at line 290 of file socket.h.