ntohs The Windows Sockets ntohs function converts a u_short from TCP/IP network byte order to host byte order.
VB4-32,5,6
Declare Function ntohs Lib "wsock32.dll" (ByVal netshort As Long) As Integer |
Operating Systems Supported |
Requires Windows Sockets 1.1 |
- netshort
[in] A 16-bit number in TCP/IP network byte order. |
The ntohs function returns the value in host byte order. If the netshort parameter was already in host byte order, then no operation is performed. |
|