Description
Tells the server to begin listening for incoming connections. This should be called in the setup() function of your sketch.
Syntax
webserver.begin()
Parameters
None
Returns
None
Examples
#include "WebServer.h"
WebServer webserver; // defaults to no prefix, port 80
void setup() {
// Ethernet stuff here, e.g. set MAC and IP address
webserver.begin();
}
void loop() {
webserver.processConnection();
}

No comments
Comments feed for this article
Trackback link: https://ten-fingers-and-a-brain.com/arduino-projects/webduino/begin/trackback/