I deleted the mbed library, imported the above bugfix-670, then renamed it mbed, compiled and ran my project. There's a slight improvement in operability, i.e. the network functions seem to be more stable and crash less, however the httpserver still is pretty painful. A simple webpage with 5 RPCVariables only loads sometimes.
Interestingly, once the page is loaded into the browser, variables can update on the page forever. (Javascript runnning in the browser is retrieving the variables from the mbed and displaying them in the appropriate spot on the page).
This is a huge improvement. The javascript timer kicks off the RPCVariable read function every 5 seconds. Previously it would only run a few seconds before crashing the mbed. Now it seems to be able to run forever (once the page is finally displayed).
Hi all,
I have a HTTPServer running on my mbed - the problem occurs when you have two people try to get the same web page at the same time: the mbed crashes.
Does the TCP Socket API allow for multiple connection? Or does anyone know how to only allow one TCP connection at a time?
Thanks in advance.