mirror of
https://github.com/KevinMidboe/TinyGSM.git
synced 2025-10-29 18:00:18 +00:00
@@ -644,8 +644,8 @@ protected:
|
||||
sendAT(GF("+USOCO="), *mux, ",\"", host, "\",", port, ",1");
|
||||
while (millis() - startMillis < timeout_ms &&
|
||||
sockets[*mux]->sock_connected == false) {}
|
||||
}
|
||||
else {
|
||||
return sockets[*mux]->sock_connected == true;
|
||||
} else {
|
||||
// use synchronous open
|
||||
sendAT(GF("+USOCO="), *mux, ",\"", host, "\",", port);
|
||||
int rsp = waitResponse(timeout_ms);
|
||||
|
||||
Reference in New Issue
Block a user