NetBurner 3.5.8
PDF Version
IPADDR4 Class

Classes

class  MACADR
 Used to store and manipulate MAC addresses. More...
class  IPADDR4
 Used to store and manipulate IPv4 addresses in dual stack mode. More...

Typedefs

typedef IPADDR6 IPADDR
 IPADDR Object Type (either v4 or v6).

Functions

bool operator== (const MACADR &i, const MACADR &j)
 Check MAC equality.
bool operator!= (const MACADR &i, const MACADR &j)
 Check MAC inequality.
bool operator> (const MACADR &i, const MACADR &j)
 Check MAC greater than.

Detailed Description

#include< nettypes.h>


The IPADDR C++ objects were created to provide a portable and easy implementation to support IPv4 and IPv6 IP addresses. There are 3 types of IPADDR objects:

  • IPADDR4: Used exclusively for IPv4 addresses
  • IPADDR: Used for either an IPv6 or IPv4 address
  • IPADDR: The typedef IPADDR is defines a type IPADDR. Its purpose is to provide clarity that an IPADDR object can be used for both IPv4 and IPv6 addresses. Any functions called with a parameter of type IPADDR will automatically execute the correct IPv4 or IPv6 underling function.