mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-29 16:03:14 +03:00
Add isRunning getter to check is ::begin already called (#7219)
This commit is contained in:
@ -194,6 +194,11 @@ public:
|
|||||||
// for compatibility...
|
// for compatibility...
|
||||||
bool setHostname(const String& p_strHostname);
|
bool setHostname(const String& p_strHostname);
|
||||||
|
|
||||||
|
bool isRunning(void)
|
||||||
|
{
|
||||||
|
return (m_pUDPContext != 0);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
hMDNSService (opaque handle to access the service)
|
hMDNSService (opaque handle to access the service)
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user