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

GetHostEntry exception in ver. 4.3.2.1


  • Please log in to reply
No replies to this topic

#1 per123

per123

    Member

  • Members
  • PipPip
  • 12 posts

Posted 21 September 2015 - 10:11 PM

VS2015.

Netduino Plus 2 with both  firmware 4.3.2.3 and 4.3.2.1 Dns.GetHostEntry throws exception 11003

 

In version 4.2.1.1 with VS2010 it works fine.

 

Dns.GetHostEntry("google.com") also returns an exception.

 while (true) {
               
                try {
<<<< exception >>>> IPHostEntry ipHost = Dns.GetHostEntry("time.windows.com");
                    ep = new IPEndPoint(ipHost.AddressList[0], 123);
                }
                catch (SocketException e) {
                    Thread.Sleep(1000);
                }
            }

The exeption is thrown in Netduino.IP

 

any advise how to get it to work again ?

 

 

 

regards

Per

 






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.