Give water to plants if dry amd pla meanwhile music the music vou can define with note length bind and breake also select several instruments for the sound
IpAddr Class Reference
IP Address container. More...
#include <ipaddr.h>
Public Member Functions | |
IpAddr (uint8_t ip0, uint8_t ip1, uint8_t ip2, uint8_t ip3) | |
Initializes IP address with provided values. | |
IpAddr () | |
Initializes IP address with null values. | |
uint8_t | operator[] (unsigned int i) const |
Returns IP address byte #. | |
bool | isEq (const IpAddr &b) const |
Compares too addresses. | |
bool | operator== (const IpAddr &b) const |
Compares too addresses. | |
bool | operator!= (const IpAddr &b) const |
Compares too addresses. | |
bool | isNull () const |
Checks whether the address is null. | |
bool | isBroadcast () const |
Checks whether the address is a broadcast address. | |
bool | isMulticast () const |
Checks whether the address is a multicast address. | |
IpAddr (uint8_t ip0, uint8_t ip1, uint8_t ip2, uint8_t ip3) | |
Initializes IP address with provided values. | |
IpAddr () | |
Initializes IP address with null values. | |
uint8_t | operator[] (unsigned int i) const |
Returns IP address byte #. | |
bool | isEq (const IpAddr &b) const |
Compares too addresses. | |
bool | operator== (const IpAddr &b) const |
Compares too addresses. | |
bool | operator!= (const IpAddr &b) const |
Compares too addresses. | |
bool | isNull () const |
Checks whether the address is null. | |
bool | isBroadcast () const |
Checks whether the address is a broadcast address. | |
bool | isMulticast () const |
Checks whether the address is a multicast address. |
Detailed Description
IP Address container.
This class is a container for an IPv4 address.
Definition at line 38 of file LPC1768/core/ipaddr.h.
Constructor & Destructor Documentation
IpAddr | ( | uint8_t | ip0, |
uint8_t | ip1, | ||
uint8_t | ip2, | ||
uint8_t | ip3 | ||
) |
Initializes IP address with provided values.
IpAddr | ( | ) |
Initializes IP address with null values.
IpAddr | ( | uint8_t | ip0, |
uint8_t | ip1, | ||
uint8_t | ip2, | ||
uint8_t | ip3 | ||
) |
Initializes IP address with provided values.
IpAddr | ( | ) |
Initializes IP address with null values.
Member Function Documentation
bool isBroadcast | ( | ) | const |
Checks whether the address is a broadcast address.
- Returns:
- true if the address is a broadcast address
bool isBroadcast | ( | ) | const |
Checks whether the address is a broadcast address.
- Returns:
- true if the address is a broadcast address
bool isEq | ( | const IpAddr & | b ) | const |
Compares too addresses.
- Returns:
- true if the two addresses are equal
bool isEq | ( | const IpAddr & | b ) | const |
Compares too addresses.
- Returns:
- true if the two addresses are equal
bool isMulticast | ( | ) | const |
Checks whether the address is a multicast address.
- Returns:
- true if the address is a multicast address
bool isMulticast | ( | ) | const |
Checks whether the address is a multicast address.
- Returns:
- true if the address is a multicast address
bool isNull | ( | ) | const |
Checks whether the address is null.
- Returns:
- true if the address is null
bool isNull | ( | ) | const |
Checks whether the address is null.
- Returns:
- true if the address is null
bool operator!= | ( | const IpAddr & | b ) | const |
Compares too addresses.
- Returns:
- true if the two addresses are different
bool operator!= | ( | const IpAddr & | b ) | const |
Compares too addresses.
- Returns:
- true if the two addresses are different
bool operator== | ( | const IpAddr & | b ) | const |
Compares too addresses.
- Returns:
- true if the two addresses are equal
bool operator== | ( | const IpAddr & | b ) | const |
Compares too addresses.
- Returns:
- true if the two addresses are equal
uint8_t operator[] | ( | unsigned int | i ) | const |
Returns IP address byte #.
uint8_t operator[] | ( | unsigned int | i ) | const |
Returns IP address byte #.
Generated on Tue Jul 12 2022 15:31:15 by 1.7.2