Represents IP address.
More...
#include <B2BITS_IPAddr.h>
|
static IPAddr | create (System::u32 addr) throw () |
| Constructs IPAddr instance using IPv4 address.
|
|
static IPAddr | create (System::u8 a1, System::u8 a2, System::u8 a3, System::u8 a4) throw () |
| Constructs IPAddr instance using IP address parts.
|
|
|
System::u8 | a1 |
| Part of the IP address.
|
|
System::u8 | a2 |
|
System::u8 | a3 |
|
System::u8 | a4 |
|
◆ create() [1/2]
static IPAddr System::IPAddr::create |
( |
System::u32 | addr | ) |
|
throw | ( | ) | | | |
|
inlinestatic |
Constructs IPAddr instance using IPv4 address.
◆ create() [2/2]
static IPAddr System::IPAddr::create |
( |
System::u8 | a1, |
|
|
System::u8 | a2, |
|
|
System::u8 | a3, |
|
|
System::u8 | a4 ) |
throw | ( | ) | | | |
|
inlinestatic |
Constructs IPAddr instance using IP address parts.
References a1, a2, a3, and a4.
◆ operator!=()
bool System::IPAddr::operator!= |
( |
IPAddr const & | rv | ) |
const |
|
inline |
Compares two IPAddr instances.
Returns true, if instances are NOT equal; false otherwise.
◆ operator==()
bool System::IPAddr::operator== |
( |
IPAddr const & | rv | ) |
const |
|
inline |
Compares two IPAddr instances.
Returns true, if instances are equal; false otherwise.
References a1, a2, a3, and a4.
◆ a1
System::u8 System::IPAddr::a1 |
◆ a2
System::u8 System::IPAddr::a2 |
◆ a3
System::u8 System::IPAddr::a3 |
◆ a4
System::u8 System::IPAddr::a4 |