WSANtohl
WSANtohl converts a u_long in TCP/IP network byte order to host byte order.
Syntax
int WSAAPI WSANtohl(
[in] SOCKET s,
[in] u_long netlong,
[out] u_long *lphostlong
);
Parameters
[in] s
Ignored. A descriptor identifying a socket.
[in] netlong
A 32-bit number in TCP/IP network byte order.
[out] lphostlong
Ignored.
Return Value
The value supplied in the netlong parameter with the byte order reversed.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
winsock2.h |
RttcpipApi.lib |