Ethernet UDP.beginPacket reference
The ethernet UDP.beginPacket function reference is incorrect. It shows beginPacket does not return a value, when in fact it does. This is from EthernetUdp.h
// Start building up a packet to send to the remote host specific in ip and port // Returns 1 if successful, 0 if there was a problem with the supplied IP address or port virtual int beginPacket(IPAddress ip, uint16_t port);
http://arduino.cc/en/Reference/EthernetUDPBeginPacket
This also holds for endPacket, as reported in #2452
The ethernet UDP.endPacket reference is incorrect. It shows endPacket does not return a value, when in fact it does. This is from EthernetUdp.h
// Finish off this packet and send it // Returns 1 if the packet was sent successfully, 0 if there was an error virtual int endPacket();http://arduino.cc/en/Reference/EthernetUDPEndPacket
Thanks! I didn't know if they would be separate issues or not. Next time I'll know better.
Fixed