mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-29 10:17:15 +02:00
Add 'fromString(const char*)', 'fromString(const String)' to IPAddress class (#68)
This commit is contained in:
committed by
Me No Dev
parent
67fd652177
commit
d8b2290313
@ -51,6 +51,9 @@ public:
|
||||
IPAddress(const uint8_t *address);
|
||||
virtual ~IPAddress() {}
|
||||
|
||||
bool fromString(const char *address);
|
||||
bool fromString(const String &address) { return fromString(address.c_str()); }
|
||||
|
||||
// Overloaded cast operator to allow IPAddress objects to be used where a pointer
|
||||
// to a four-byte uint8_t array is expected
|
||||
operator uint32_t() const
|
||||
|
Reference in New Issue
Block a user