A simple web server that can be bound to either the EthernetInterface or the WiflyInterface.
Dependents: Smart-WiFly-WebServer WattEye X10Svr SSDP_Server
Diff: SW_HTTPServer.cpp
- Revision:
- 51:758601b9bacd
- Parent:
- 50:10db483f5154
- Child:
- 52:611a3b360f8c
- Child:
- 53:e5d96abe5e9b
--- a/SW_HTTPServer.cpp Mon Apr 10 20:58:52 2017 +0000 +++ b/SW_HTTPServer.cpp Tue Apr 11 18:53:04 2017 +0000 @@ -151,7 +151,7 @@ maxheaderbytes = 0; server = new TCPSocketServer(); server->bind(port); - server->listen(); + server->listen(5); server->set_blocking(false, blockingtime); client.set_blocking(false, blockingtime); //@TODO client is separate from server. any way to combine? ResetPerformanceData();