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.

sjr84's Content

There have been 1 items by sjr84 (Search limited from 20-April 23)


By content type

See this member's

Sort by                Order  

#19716 Netduino Firmware v4.2.0 RC3 (all editions)

Posted by sjr84 on 24 October 2011 - 08:14 PM in Beta Firmware and Drivers

There appears to be an issue with HttpWebRequest in this new firmware. I've reduced my code to the simplest test case of making the request and trying to get the response, but it seems to freeze on getting the response (pressing pause in Visual Studio shows that the execution never gets past that line.

public static void Main()
{
    Debug.Print(Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].IPAddress);
    HttpWebRequest request = HttpWebRequest.Create("http://example.com") as HttpWebRequest;
    Debug.Print("Request created");
    WebResponse response = request.GetResponse();
}
Any ideas? It also used to freeze on the previous RC's but only if unplugging the network cable, and then re-plugging it back in (or dropping the connection some other way). As a note it works fine in the emulator, so assume its an issue with the firmware.




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.