Using web sockets with JavaScript is very difficult. I have tried for 3 hours, and I haven't set up a WebSocket server yet. I tired Socket.IO, but it seems very hard to configure. I tried a Java implementation of Socket.IO, but the source code requires hundreds of dependencies which would take weeks to find.
I have attempted jWebSocket, but when I run the standard server, it shuts down and shows no reason or error in the command prompt window. I can run the local version of jWebSocket, but that's pointless since users outside the local network need to access it.
I have looked at node.js, but it seems like a pain to configure and set up.
I think it'll take longer to set up the web socket server than to actually write the code.
So does anybody have any ideas?