A simple web server that can be bound to either the EthernetInterface or the WiflyInterface.

Dependents:   Smart-WiFly-WebServer WattEye X10Svr SSDP_Server

Revision:
45:360c7c1d07b7
Parent:
44:71f09e4255f4
Child:
47:4c29c8f0cff2
--- a/SW_HTTPServer.cpp	Sat Mar 26 20:38:59 2016 +0000
+++ b/SW_HTTPServer.cpp	Mon Apr 11 02:20:08 2016 +0000
@@ -149,8 +149,8 @@
     server = new TCPSocketServer();
     server->bind(port);
     server->listen();
-    server->set_blocking(false);
-    client.set_blocking(false);             //@TODO client is separate from server. any way to combine?
+    server->set_blocking(false, 1000);
+    client.set_blocking(false,  1000);  //@TODO client is separate from server. any way to combine?
     ResetPerformanceData();
     PerformanceTimer.start();
 }