I thought you may enjoy this... I have hacked my Davis Vantage Pro 2 weather console so that I can hook the Netduino Plus 2 up to it. The Netduino sends network broadcasts using UDP every few seconds containing the current weather encoded in XML. The PC app listens for the broadcasts and can use the data - in this case I just display the inside temperature in a gauge control.
FirstWeather.PNG 8.78KB 1 downloads
DSCF4708.JPG 140.68KB 2 downloads
I found that when the netduino is just listening on a socket, then everything seems to lock up inexplicably after some time (an hour or so, maybe less). My code is heavily instrumented and yet I see no diagnostics when the lock-up has happened, so it hasn't closed the socket or thrown an exception, so I don't know why it stops working. However, this doesn't seem to happen any more now that I am occasionally sending UDP broadcasts on a worker thread. Odd! Any thoughts on that...?
--Tim Long