TheGrandmother / MUD

The worlds lames mud :/
1 stars 1 forks source link

Add support for websockets #7

Closed Chilinot closed 8 years ago

Chilinot commented 8 years ago

Add support for websockets in the MUD, this will allow webbrowsers and other stuff to connect to the server and play the game.

TheGrandmother commented 8 years ago

Just read trough some of the protocol specifications. Turns out that each sent frame contains a lot of annoying data.

I think we need to re-factor the server side to actually use websockets instead of just ignoring the unneeded part of the WebSocket protocol.

Maybe this could be useful: http://java-websocket.org/

To get native java support we would need to use Java EE7 :/

TheGrandmother commented 8 years ago

Update!

Node.js has support for the normal net sockets. No need to do horrible WebSocket stuff.

I think having propper websocket support would imply a complete serverside rewrite.

Chilinot commented 8 years ago

Nice! Marking this issue as nonfix :)