inet_netof()

extract the network number from Internet host address 

Function


SYNOPSIS

#include <arpa/inet.h>

in_addr_t inet_netof(struct in_addr addr);


DESCRIPTION

The inet_netof() function takes an Internet host address and extracts the network number part, in host byte order.


PARAMETERS

addre 

Is an Internet address.


RETURN VALUES

The inet_netof() function returns the network number part of the specified Internet address.


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:
inet_addr(), inet_aton(), inet_lnaof(), inet_makeaddr(), inet_net_ntop(), inet_net_pton(), inet_neta(), inet_network(), inet_ntoa(), inet_ntop(), inet_pton()


PTC MKS Toolkit 10.5 Documentation Build 40.