Printing amount of TCP connections on WebServer (ESP32)

Hey!

I am using the ESP32 to host a webserver, the example included, AdvancedWebServer.ino.

Secondly, I am performing a TCP SYN Flood attack on the webserver, simply sending tons of TCP SYN requests. Now, I would like to make the ESP32, print in some form, how it is affected by this ttack, meaning either the amount of TCP requests or connections it receives or in some other way.

Can anyone help me out? Thanks!

Can anyone help me out?

Without seeing your code? Sure. Come on, the door's this way.