mirror of
				https://github.com/eledio-devices/thirdparty-AsyncTCPSock.git
				synced 2025-10-31 00:32:37 +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; } |     uint8_t state() { return _conn_state; } | ||||||
|     bool connected(); |     bool connected(); | ||||||
|  |     bool disconnected() { | ||||||
|  |         return !connected(); | ||||||
|  |     } | ||||||
|  |  | ||||||
|     bool freeable();//disconnected or disconnecting |     bool freeable();//disconnected or disconnecting | ||||||
|  |  | ||||||
|     uint32_t getAckTimeout(); |     uint32_t getAckTimeout(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user