ntohl  3181_55

The Windows Sockets ntohl function converts a u_long from TCP/IP network order to host byte order.

u_long ntohl (

    u_long netlong

 

   );

 

 

Parameters

netlong

[in] A 32-bit number in TCP/IP network byte order.

 

Remarks

This routine takes a 32-bit number in TCP/IP network byte order and returns a 32-bit number in host byte order.

Return Values

ntohl returns the value in host byte order.

See Also

htonl, htons, ntohs, WSAHtonl, WSAHtons, WSANtohl, WSANtohs