diff --git a/src/WebSockets.h b/src/WebSockets.h index 60c13d9..3ee3f3a 100644 --- a/src/WebSockets.h +++ b/src/WebSockets.h @@ -94,7 +94,9 @@ #define WEBSOCKETS_YIELD_MORE() #endif +#ifndef WEBSOCKETS_TCP_TIMEOUT #define WEBSOCKETS_TCP_TIMEOUT (5000) +#endif #define NETWORK_ESP8266_ASYNC (0) #define NETWORK_ESP8266 (1)