Updated demo here!
Server looks like this. Click "engage server" to start listening for connections. After that, click on "Deploy client".
Client looks like this. You can send a message event to server. Client also receives windowx, windowy position of the server window.
If you go to localhost:54321/something, http server will response:
I just started to work on this, but this is so great that i had to share:
Socket.io (and a http server) written in Construct 2. Download demo here.
Run it, press a button, and voila. You've got yourself a semi-functional server written in C2. When you request a "localhost:54321", it will respond with "Welcome to socket.io"
It cannot accept any socket connections yet, but hopefully in a few hours it will!