ntohl()

convert 32-bit value from network to host byte order 

Function


SYNOPSIS

#include <machine/endian.h>

unsigned long ntohl(unsigned long netlong);


DESCRIPTION

This subroutine converts values between the host and network byte order. Specifically, ntohl() converts 32-bit quantities from network byte order to host byte order.


PARAMETERS

netlong 

Specifies the 32-bit quantity.


RETURN VALUES

ntohl() returns the host byte-ordered netlong.


CONFORMANCE

UNIX 98.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
htonl(), htons(), ntohs()


PTC MKS Toolkit 10.5 Documentation Build 40.