diff --git a/src/RemoteDebug.cpp b/src/RemoteDebug.cpp index 84e6970..dd88308 100644 --- a/src/RemoteDebug.cpp +++ b/src/RemoteDebug.cpp @@ -367,7 +367,7 @@ void RemoteDebug::handle() // Verify if the IP is same than actual conection WiFiClient newClient; // @suppress("Abstract class cannot be instantiated") - newClient = TelnetServer.available(); + newClient = TelnetServer.accept(); String ip = newClient.remoteIP().toString(); if (ip == TelnetClient.remoteIP().toString()) @@ -393,7 +393,7 @@ void RemoteDebug::handle() // New TCP client - TelnetClient = TelnetServer.available(); + TelnetClient = TelnetServer.accept(); // Password request ? - 18/07/18