inet_makeaddr()

construct Internet address 

Function


SYNOPSIS

#include <arpa/inet.h>

struct in_addr inet_makeaddr(in_addr_t net, in_addr_t lna);


DESCRIPTION

The inet_makeaddr() function takes an Internet network number and a local network address, both in host byte order, and constructs an Internet address from them.


PARAMETERS

net 

Is an Internet network number.

lna 

Is the local network address.


RETURN VALUES

The inet_makeaddr() function returns the Internet host address in network byte order.


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_net_ntop(), inet_net_pton(), inet_neta(), inet_netof(), inet_network(), inet_ntoa(), inet_ntop(), inet_pton()


PTC MKS Toolkit 10.4 Documentation Build 39.