I create a thread in my main method that calls WebServer2.Start. There is a Socket called socketGetIP that is used in the main method of my program to get a DHCP when the Netduino boots up. I reuse the socket in the method below to listen for web requests. The issue I am trying to resolve today is the responsiveness of the "server". If I put a breakpoint at EndPoint clientEndPoint = clientSocket.RemoteEndPoint then the page renders everytime. If the breakpoint is disabled then the page may render 1 out of 5 or 1 out of 10 times. Why the inconsistent response ?
EDIT: I noticed my request is null sometimes. Why would this be ? I have a querystring attached to the URI.