run a webserver for firewall check

This commit is contained in:
Florian Hoss 2022-05-03 20:32:40 +02:00
parent 458e3fbc6f
commit dfb92d6bf9

View file

@ -42,4 +42,12 @@ void setup()
void loop() void loop()
{ {
firewallApi->handle_client(); firewallApi->handle_client();
WiFiClient client = wifiServer.available();
if (client)
{
Serial.print("Client connected with IP:");
Serial.println(client.remoteIP());
client.stop();
Serial.println("Client disconnected");
}
} }