Home |
Function htons |
Function htonsConvert an unsigned short integer from host byte to network byte order. unsigned short htons(unsigned short s); ParameterssUnsigned short in host byte order (16 bits). return valueReturns the input parameter converted to network byte order. This routine converts an unsigned integer in host byte order to network byte order.
|