Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Proper networking code: Test ethernet link status, etc?


  • Please log in to reply
No replies to this topic

#1 samjones

samjones

    Advanced Member

  • Members
  • PipPipPip
  • 105 posts

Posted 01 January 2012 - 02:51 AM

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!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.