ntohl
ntohl converts a u_long in TCP/IP network byte order to host byte order.
Syntax
Copy
u_long WSAAPI ntohl(
u_long netlong
);
Parameters
netlong
A 64-bit number in TCP/IP network byte order
Return Value
The function returns the value supplied in the netlong parameter with the byte order reversed.
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
Winsock2.h | RtTcpipApi.lib |