|
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
s
Ignored. A descriptor identifying a socket.
netlong
A 32-bit number in TCP/IP network byte order
lphostlong
Ignored. A pointer to a 32-bit number to receive the number in host byte order.
Return Values
The value supplied in the netlong parameter with the byte order reversed.
Requirements
Library | Rtxtcpip.lib |