inet_makeaddr

Returns an Internet address given a network address and a local address on that network.

Format

#include  <in.h>

#include  <inet.h>

struct in_addr inet_makeaddr  (int net, int lna);

Arguments

net
An Internet network address in host byte order.
lna
A local network address on network net in host byte order.

Description

This routine combines the net and lna arguments into a single Internet address.

Return Value
An Internet address in network byte order. 


Previous Page | Next Page | Table of Contents | Index