Simple two way communications between Arduino and C# program (Ethernet)

My robotic project is almost completed. I have a robot completely controlled via a visual C# program with data coming in through multiple sensors on the robot. The only issue is that the communication is through a USB cable (USB 2.0 is limited to 5m). I'm hoping to communicate via my Ethernet Shield instead which should give me greater flexibility.

I've spent the better part of two days digging around it seems that UDP communications are my best bet. I am, however, not proficient with network communications nor am I proficient with UDP network communications in C#.

I found the following code at this site (http://arduino.cc/en/Tutorial/UDPSendReceiveString) which seems to suit my basic needs (i.e. two way communication via UDP) but the PC code is using "Processing" (http://www.processing.org/) and I need my code to be in C# as all my other code is in C#. Can anyone help me translate the "Processing code" into usable visual C# code? I'm basically stuck at this point.

Thanks so much for any help you can provide.

Thanks so much for any help you can provide.

Just to get the bot working via the internet, you could put web server code on the arduino and control the bot via a clickable web page.

I was, in fact, able to do exactly that (make a web page to control the robot and report raw sensor data values) but it doesn't serve my purpose to simply view the raw data. I have some pretty significant code in C# to allow me to make some sense out of the raw data and view in graphically.

Thanks for the suggestion however.