Normally one programs a multiplayer game or a chat etc yes with sockets. Unfortunately, the sockets in my school do not work because of course I can't switch off the firewall which prevents the port from being opened
However, a few games run the multiplayer are easily like minecraft or openspades
So I asked our technical assistant how that was possible.
The Answer me something like this: "The communicate on the html format which I unfortunately can't block" is also logical that he can't block
Now my question how do I program such a connection via html
Who has a good tutorial or a website or can do one himself
1. The person who said that has absolutely no idea.
2. If you're programming a chat client that communicates via a (web) server, that should work. The server just has to provide an API (keyword REST).
You just have to find a corresponding port that is open. Then that works with the sockets.
But something like that.
Or WebSocket. (For Apache, for example, using mod_proxy, it will also run on port 80 or 443 next to the "normal" web server.)
Other ideas? Or do I need an external server
You need it. The firewall blocks incoming connections to the PC. Outgoing people usually do not care.
I'll be fine soon