inet_netof

Returns the Internet network address portion of an Internet address.

Format

#include  <in.h>

#include  <inet.h>

int inet_netof  (struct in_addr in);

Argument

in
An Internet address.

Description

This routine returns the Internet network address (NET) portion of a full Internet address.

Return Value
The Internet network portion of an Internet address in host byte order. 


Previous Page | Next Page | Table of Contents | Index