Team E1
Fork of HTTPServer by
Diff: HTTPServer.h
- Revision:
- 6:fe661fa9d18a
- Parent:
- 4:d065642c32cc
- Child:
- 9:c2a1462b9b71
diff -r dc88012caef1 -r fe661fa9d18a HTTPServer.h --- a/HTTPServer.h Sat Jun 01 06:24:43 2013 +0000 +++ b/HTTPServer.h Sat Jun 01 16:49:17 2013 +0000 @@ -133,10 +133,11 @@ /** Performs the regular polling of the server component. Needs to be called cyclically. * The function will internally check whether new connections are requested by a client and will also poll all existing client connections. + * @param blocking : if true, * @returns -1 if there was a problem. If 0 is returned, the latest request was served successfully and the server is * ready for processing the next request. Simply call \c poll as long as you want to serve new incoming requests. */ - int poll(); + int poll(bool blocking = true); private: /** The standard error handler function.