ntohs
Table of Contents >> Programmer's Reference
#include <trsocket.h> |
unsigned short ntohs | (unsigned short shortValue); |
Function Description
This function converts a short value from network byte order to host byte order.
Parameters
- shortValue
- The value to convert.
Returns
- (unsigned short)
- The converted value.