Embedded TCP/IP stack  4.7.0

◆ fnet_ntohl()

fnet_uint32_t fnet_ntohl ( fnet_uint32_t  long_var)

Converts 32-bit value from network to host byte order.

Parameters
long_varA 32-bit number in network byte order.
Returns
This function returns the host byte-ordered long_var.
See also
FNET_HTONS(), FNET_NTOHS(), FNET_HTONL(), FNET_NTOHL(), fnet_htons(), fnet_ntohs(), fnet_htonl()

The function converts the unsigned long integer from network byte order to host byte order.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net