htonl function winsock

int htonl(
  1. int hostlong
)

The htonl function converts a u_long from host to TCP/IP network byte order (which is big-endian).

u_long htonl(
  u_long hostlong
);

Implementation

int htonl(int hostlong) => _htonl(hostlong);