I was using the NativeEthernet library and had some intermittent issues with it and the community recommended I use the QNEthernet library instead.
I changed my code to use the QNEthernet library but I am having problems with the display of a webpage. It does not get rendered correctly.
Here is my code:
Are the println statements incorrect?
I changed my code to use the QNEthernet library but I am having problems with the display of a webpage. It does not get rendered correctly.
Here is my code:
Code:
void processWebClient()
{
EthernetClient webClient = webServer.available();
while (webClient.connected())
{
...
webClient.println(F("<td>Server Port (> 1024)</td>"));
webClient.println(F("<td>"));
webClient.println(str[1]);
webClient.println(F("</td>"));
webClient.println(F("<td>"));
if (f)
{
webClient.println(F("<input id=\"new_myTCPserverPort\" name=\"new_myTCPserverPort\" type=\"text\" onblur=\"check_port(this)\">"));
}
webClient.println(F("</td>"));
webClient.println(F("</tr>"));
webClient.println(F("<tr>"));
...
}
}
Are the println statements incorrect?