htons The Windows Sockets htons function converts a u_short from host to TCP/IP network byte order.
VB4-32,5,6
Declare Function htons Lib "wsock32.dll" (ByVal hostshort As Long) As Integer |
Operating Systems Supported |
Requires Windows Sockets 1.1 |
- hostshort
[in] A 16-bit number in host byte order. |
The htons function returns the value in TCP/IP network byte order. |
|