DescriptionThis function writes UDP data to the remote connection. Must be called between beginPacket() and endPacket(). beginPacket() initializes the packet of data, it is not sent until endPacket() is called.
WiFiUDP.write(byte); WiFiUDP.write(buffer, size);
- byte: the outgoing byte
- buffer: the outgoing message
- size: the size of the buffer