Embedded TCP/IP stack  4.1.0
#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 73 of file fnet_cpu.h.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net