mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-19 18:22:05 +02:00
fix: ESP32 new client connection
This commit is contained in:
@ -587,7 +587,7 @@ bool WebSocketsServer::clientIsConnected(WSclient_t * client) {
|
|||||||
*/
|
*/
|
||||||
void WebSocketsServer::handleNewClients(void) {
|
void WebSocketsServer::handleNewClients(void) {
|
||||||
|
|
||||||
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266)
|
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266) || (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP32)
|
||||||
while(_server->hasClient()) {
|
while(_server->hasClient()) {
|
||||||
#endif
|
#endif
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
|
Reference in New Issue
Block a user