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

Dependents:   Smart-WiFly-WebServer WattEye X10Svr SSDP_Server

Revision:
36:1bb5fa6b109c
Parent:
33:ef165a67ab22
Child:
37:0cb2774e2410
--- a/SW_HTTPServer.h	Sat Jan 04 20:53:10 2014 +0000
+++ b/SW_HTTPServer.h	Fri May 02 00:26:06 2014 +0000
@@ -2,7 +2,8 @@
 #ifndef SW_HTTPSERVER_H
 #define SW_HTTPSERVER_H
 #include "mbed.h"
-#include "MODSERIAL.h"    // would like to hook in mod serial for higher performance, less blocking
+//#include "MODSERIAL.h"    // would like to hook in mod serial for higher performance, less blocking
+#include "RawSerial.h"
 #include "Wifly.h"
 #include "TCPSocketServer.h"
 #include "TCPSocketConnection.h"
@@ -10,7 +11,7 @@
 #ifdef MODSERIAL_H
 #define PC MODSERIAL
 #else
-#define PC Serial
+#define PC RawSerial
 #endif
 
 /// This is the default buffer size used to send files. You might size
@@ -442,7 +443,7 @@
     *
     * This will get the IP address of the remote node to which we are
     * currently connected. This is written into the buffer in
-    * "192.168.100.234" format. If the buffer size is note >= 16 bytes,
+    * "192.168.100.234" format. If the buffer size is not >= 16 bytes,
     * it will set the buffer to null.
     *
     * @deprecated This binds the web server to only network interfaces