htons
The Windows Sockets
htons function converts a
u_short from host to TCP/IP network byte order.
u_short htons (
Parameters
hostshort
[in] A 16-bit number in host byte order.
Remarks
This routine takes a 16-bit number in host byte order and returns a 16-bit
number in network byte order used in TCP/IP networks.
Return Values
htons returns the value in TCP/IP network byte order.
See Also
htonl,
ntohl,
ntohs,
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