z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


inet_makeaddr()

z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
SC27-3660-00

The inet_makeaddr() call combines an existing network number and a local network address to construct an internet address.

#include <manifest.h>
#include <bsdtypes.h>
#include <socket.h>
#include <in.h>
#include <inet.h>
 
struct in_addr
inet_makeaddr(unsigned long net, unsigned long lna)
Parameter
Description
net
The network number
lna
The local network address

Return values

The internet address is returned in network byte order.

Related calls

inet_addr(), inet_lnaof(), inet_netof(), inet_network(), inet_ntoa()

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014