Frage

I have closed-source server-side software that communicates with proprietary messages over TCP.

I would like to program a client for this server that runs in the Safari web browser (an iPad).

I believe the best way to do this is to create a middleware program that translates between the WebSocket or Socket.io protocol and the proprietary format used by the server.

I'd be most comfortable writing the midleware in C/C++ or Java, but other languages readily usable on linux would also work. The connection to the server can not be closed between calls and we need to maintain state, so languages like php are probably not appropriate.

I've looked at a half-dozen server side Socket.io implementations, but nothing stood out as being ready for prime-time.

What are some mature sever-side platforms / libraries for a browser socket implementation out there? The things that are most important to me are:

  1. Stability... It should run for months without being restarted
  2. Maintenance and Community... No dead projects

While it seems like nothing is truly mature in this area, any hints as to the best possible paths for a production system would be appreciated.

War es hilfreich?

Lösung

It is difficult to grasp what you really want to know from us.

I've looked at a half-dozen server side Socket.io implementations, but nothing stood out as being ready for prime-time.

I believe http://socket.io/ for node.js is pretty stable, used by many, has a huge community, and is by far not dead.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top