I have had a running sample using Arduino Uno and the Ethernet Shield receiving and sending data using UDP. Now I upgraded to Arduino 1.0 with a new pair of Uno and Ethernet Shield and run into the following problems:
I was not able to correctly receive UDP data, that was solved by upgrading to the Arduino Version 1.0.1 (or maybe some 1.0 with the UDP fix) that is in Debian (see other forum entry)
I am still not able to send UDP data. Calling the “beginPacket” method returns 1 (success), writing data returns the correct amount of data (success) and endPacket return 0 (failure).
When looking into the arduino code I figured out, that this it seems to be the case when the W5100 module reports a timeout. But there should not be a timeout for UDP?! So it must be something different I guess.
I hope somebody can help.
Thanks in advance.