ntohs

Convert 16-bit integer values from network-order to CPU host-order. See function NET_UTIL_NET_TO_HOST_16 for more information.

Files

net_bsd.h

Prototype

ntohs(val);

Arguments

val

Data value to convert.

Returned Value

Converted data value.

Required Configuration

None.