diff --git a/src/AsyncTCP.h b/src/AsyncTCP.h index 7e9a8fc..98dff82 100644 --- a/src/AsyncTCP.h +++ b/src/AsyncTCP.h @@ -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();