Go Down

Topic: Reference documentation error - udp.beginpacket() (Read 233 times) previous topic - next topic

mdt3k

Hi,

The page https://www.arduino.cc/en/Reference/EthernetUDPBeginPacket doesn't cover the variant of the funtion that performas a host name lookup.

As such it incorrectly suggests that the function returrns 1 for success or zero otherwise. If the DNS lookup fails, the DNS function's failure code is returned, which can be negative.

The link provided for reporting faults on the page pointed to this forum, hence ^^^

Regards,

Mark

Go Up