I am working from the "internet of things" book, and I have stuff working, and life is pretty great in netduino+ land!
I am now working on getting my code in "ship shape."
How?
Currently, I just call System.Net.HttpWebRequest, and System.Net.HttpWebResponse, and it works.
But this is on my workbench, where everything is perfect.
I now need to enhance my code to do something like this:
- Check that ethernet is plugged in, and that I have link
- Test that I can resolve names (e.g. that I have dns)
- Ping / http GET against a known "good" domain name
- Ping my server
- etc
So that if there is an issue at each step, I can flash the right error code, etc.
In the land of NETMF, where is such functionality hiding?
Thanks!
![Photo](http://www.gravatar.com/avatar/2022a611decf43d629d3523b9de3fefb?s=100&d=http%3A%2F%2Fforums.netduino.com%2Fpublic%2Fstyle_images%2Fmaster%2Fprofile%2Fdefault_large.png)
Proper networking code: Test ethernet link status, etc?
Started by samjones, Jan 01 2012 02:51 AM
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users