mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
Fix bug in WiFiClientBasic.ino (#3902)
This commit is contained in:
parent
3838e58f62
commit
7dd50360b9
@ -54,11 +54,11 @@ void loop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// This will send the request to the server
|
// This will send the request to the server
|
||||||
client.print("Send this data to server");
|
client.println("Send this data to server");
|
||||||
|
|
||||||
//read back one line from server
|
//read back one line from server
|
||||||
String line = client.readStringUntil('\r');
|
String line = client.readStringUntil('\r');
|
||||||
client.println(line);
|
Serial.println(line);
|
||||||
|
|
||||||
Serial.println("closing connection");
|
Serial.println("closing connection");
|
||||||
client.stop();
|
client.stop();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user