We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd6cd85 commit 29789b1Copy full SHA for 29789b1
doc/esp8266wifi/udp-examples.rst
@@ -106,7 +106,7 @@ The sketch performing all described functionality is presented below:
106
WiFiUDP Udp;
107
unsigned int localUdpPort = 4210; // local port to listen on
108
char incomingPacket[255]; // buffer for incoming packets
109
- char replyPacekt[] = "Hi there! Got the message :-)"; // a reply string to send back
+ char replyPacket[] = "Hi there! Got the message :-)"; // a reply string to send back
110
111
112
void setup()
@@ -144,7 +144,7 @@ The sketch performing all described functionality is presented below:
144
145
// send back a reply, to the IP address and port we got the packet from
146
Udp.beginPacket(Udp.remoteIP(), Udp.remotePort());
147
- Udp.write(replyPacekt);
+ Udp.write(replyPacket);
148
Udp.endPacket();
149
}
150
0 commit comments