ntohs

The Windows Sockets ntohs function converts a u_short from TCP/IP network byte order to host byte order.

u_short ntohs (

u_short netshort

);

Parameters

netshort

[in] A 16-bit number in TCP/IP network byte order.

Remarks

This routine takes a 16-bit number in TCP/IP network byte order and returns a 16-bit number in host byte order.

Return Values

ntohs
returns the value in host byte order.

See Also

htonl
, htons, ntohl, WSAHtonl, WSAHtons, WSANtohl, WSANtohs

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database