/
htons
htons
Convert 16-bit integer values from CPU host-order to network-order. See function NET_UTIL_HOST_TO_NET_16 for more information.
Files
net_bsd.h
Prototype
htons(val);
Arguments
val
Data value to convert.
Returned Value
Converted data value.
, multiple selections available,
Related content
htonl
More like this
ntohs
More like this
ntohl
More like this
Network Sockets Concepts
Network Sockets Concepts
More like this
NET_UTIL_NET_TO_HOST_16
NET_UTIL_NET_TO_HOST_16
More like this
NET_UTIL_HOST_TO_NET_16
NET_UTIL_HOST_TO_NET_16
More like this