mirror of
				https://github.com/eledio-devices/thirdparty-AsyncTCPSock.git
				synced 2025-10-31 16:14:15 +01:00 
			
		
		
		
	Return false on send() if socket not connected
This commit is contained in:
		| @@ -841,6 +841,8 @@ size_t AsyncClient::add(const char* data, size_t size, uint8_t apiflags) | ||||
|  | ||||
| bool AsyncClient::send() | ||||
| { | ||||
|     if (!connected()) return false; | ||||
|  | ||||
|     fd_set sockSet_w; | ||||
|     struct timeval tv; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user