VMS Help — TCPIP Services, Programming Interfaces, Socket API Functions, inet_network()
Converts a null-terminated text string representing an IP address
into a network address in local host format.
Format
#include <in.h>
#include <inet.h>
int inet_network ( const char *cp );