Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

Ethernet UDP.endPacket function reference

Open SurferTim opened this issue 12 years ago • 1 comments

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

SurferTim avatar Nov 17 '14 12:11 SurferTim

I've copied this report into #2451, now I'll closes this as duplicate. No need to have two separate issues for this.

matthijskooijman avatar Nov 17 '14 12:11 matthijskooijman