VMS Help  —  TCPIP Services, Programming Interfaces, Socket API Functions, inet_netof()
    Returns the internet network address portion of an IP address.
    Format
      #include  <in.h>
      #include  <inet.h>
      int inet_netof  ( struct in_addr in );

1  –  Argument

 in
    An IP address.

2  –  Description

    This function returns the internet network address (NET) portion
    of a full IP address.
                                   NOTE
       The 64-bit return from OpenVMS Alpha and I64 systems has
       zero-extended bits in the high 32 bits of R0.

3  –  Return Value

    x                  The internet network portion of an IP address,
                       in host byte order.
Close Help