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.

GlenS

Member Since 18 Jan 2012
Offline Last Active May 26 2014 02:46 PM
-----

#24937 HttpListener does not respond

Posted by GlenS on 01 March 2012 - 11:30 PM

Ganesh, I haven't had the time to do any in-depth stdy, but what I think you may be seeing is the result of HTTP requests overlapping. Some quick testing I did was everythign seemed to work if I was slow in hitting the F5 refresh in Firefox, but if I hit it very quickly I hit the error you describe very quickly. Take a look at the code from Jasper Schuurmans at : http://www.schuurman...lus#comment-256 He has an excelent multi-threaded web server that you could adapt to your needs. I have used it in one of my demo projects without any issues once I had fixed a small issue he had in the code that did not return a complete HTTP header in the response. This was causing the response to fail on some mobile devices. Hope this helps Glen


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.