Embedded TCP/IP stack  4.7.0

◆ FNET_HTONS

#define FNET_HTONS (   short_var)

Macros which converts the unsigned short integer from host byte order to network byte order.

Parameters
short_varA 16-bit number in host byte order.
See also
FNET_NTOHS(), FNET_HTONL(), FNET_NTOHL(), fnet_htons(), fnet_ntohs(), fnet_htonl(), fnet_ntohl()

Definition at line 93 of file fnet_cpu.h.


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