mirror of
https://github.com/eledio-devices/thirdparty-AsyncTCPSock.git
synced 2025-10-30 16:15:40 +01:00
Backward compatibility with AsyncTCP (disconnected() method)
This commit is contained in:
@@ -124,6 +124,10 @@ class AsyncClient : public AsyncSocketBase
|
||||
|
||||
uint8_t state() { return _conn_state; }
|
||||
bool connected();
|
||||
bool disconnected() {
|
||||
return !connected();
|
||||
}
|
||||
|
||||
bool freeable();//disconnected or disconnecting
|
||||
|
||||
uint32_t getAckTimeout();
|
||||
|
||||
Reference in New Issue
Block a user