Mearm colorsorting with web application

Dependencies:   TCS3200

Revision:
4:62b6eaf030ab
Parent:
3:f5e5af908b55
Child:
5:36f1e4e1a427
--- a/main.cpp	Thu Nov 30 16:10:23 2017 +0000
+++ b/main.cpp	Thu Nov 30 17:10:05 2017 +0000
@@ -58,11 +58,9 @@
        srv.accept(&clt_sock, &clt_addr);
         printf("accept %s:%d\n", clt_addr.get_ip_address(), clt_addr.get_port());
         //clt_sock.send(HTTP_RESPONSE, strlen(HTTP_RESPONSE));
-         clt_sock.send(http, strlen((char *)http));
-         
+         clt_sock.send(http, strlen((char *)http));   
         v++;
-        SendWebPage(v);
-        clt_sock.send(http, strlen((char *)http));
+       
     }
     
 }
@@ -76,9 +74,9 @@
   /* construct web page content */
   strcpy((char *)http, (char *)"HTTP/1.0 200 OK\r\nContent-Type: text/html\r\nPragma: no-cache\r\n\r\n");
   strcat((char *)http, (char *)"<html>\r\n<body>\r\n");
-  strcat((char *)http, (char *)"<head>\r\n");
-  strcat((char *)http, (char *)"<meta http-equiv="refresh" content="30">\r\n");
-  strcat((char *)http, (char *)"</head>\r\n");
+   strcat((char *)http, (char *)"<head>\r\n<meta http-equiv=""refresh"" content=""30"">\r\n</head>\r\n");
+  //strcat((char *)http, (char *));
+  //strcat((char *)http, (char *)"</head>\r\n");
   strcat((char *)http, (char *)"<title>STM32 Web Server</title>\r\n");
   strcat((char *)http, (char *)"<h2>InventekSys : Web Server using Es-Wifi with STM32</h2>\r\n");
   strcat((char *)http, (char *)"<br /><hr>\r\n");