1.1.24.21 htons

C

uint16_t htons(uint16_t n)

Description

Convert 16-bit value from host to network byte order.

Parameters

ParametersDescription
nValue to convert.

Returns

Converted value.

Remarks

None.