Arduino
Arduino copied to clipboard
UDP.begin return value
Original by Tim Dicus:
I have found another error in the ethernet reference pages and have a correction for you.
This page states that there is no return value for UDP.begin(). That is not true. It returns 1 on success and 0 on fail (no socket available) http://arduino.cc/en/Reference/EthernetUDPBegin
This is from EthernetUdp.h virtual uint8_t begin(uint16_t); // initialize, start listening on specified port. Returns 1 if successful, 0 if there are no sockets available to use
Is this too difficult for you? I gave you the correction, and you can't verify it for the webmaster?
Cfr. http://forum.arduino.cc/index.php?topic=240403.0