Question:
I have a websocketserver running on a ESP32 which works perfect.My problem is that if I send a message to the server over a website the socketserver on the ESP32 executes the .send(message) only the first time and is not sending anymore any message.
If I send a message from the developertools/console in chrome it works every time.
At this point I suppose my problem seems not to be on the server-side but on the client-side.
This is my html/javascript-code running inside chrome: