How do I implement UDP???

In reference to a previous post of mine, I have decided to utilize the UDP protocol.

Now the question is how to get started. I'll be using an Arduino Duemilanove with and Ethernet Shield that will be attached to a local computer (this computer controls a submarine). Ultimately the Arduino package will become a remote from which to control the submarine from on a ship's deck rather than below it.

Is there reference material available on or offline that I could use to learn about UDP programming? Can anyone give any hints, suggestions, or tutorial site links that would help?


Try RFC 768 (to start with).

This might also help:

And this:

Finally, this:

BTW - you have googled "arduino udp", right...?

Yeah.. I looked through every link I could find on Google concerning UDP and Arduino. I haven't been able to find anything that gets me started with the basics. I already have the bjoern library. Looking for something now that more or less explains a how to method to get started with the programming.

This might be where you get to be "the first" - at least you have a product that will do it, some sources of information, and some source code.

I'm in the "process" of trying to reverse-engineer the communications protocol of an LCD display for a Lexmark laser printer, and Lexmark isn't giving me -any- love...