1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

Fix bug in WiFiClientBasic.ino (#3902)

This commit is contained in:
Hans Winzell 2017-12-28 13:47:10 +01:00 committed by Develo
parent 3838e58f62
commit 7dd50360b9

View File

@ -54,11 +54,11 @@ void loop() {
}
// 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
String line = client.readStringUntil('\r');
client.println(line);
Serial.println(line);
Serial.println("closing connection");
client.stop();