3 ms·
I let socket.io worry about that. Great library.
by sjs 15y ago
I let socket.io worry about that. Great library.
- nkassis 15y agoI agree about socket.io. It works quiet well for most of what I need. The only issue I have with is is I can't figure out if it now supports sending and receiving ArrayBuffers? Does anyone know anything about this? My use case involves sending model data to display in WebGL. Sending it any other way would be inefficient.
- Rauchg 15y agoIt's something we're currently working on. We're going to be integrating a XHR binary data fallback as well into our realtime engine.
- jmspring 15y agosocket.io is a great library, agreed. However, a nice thing about standards is you can program to the specification and provide support on other platforms. Working on a project that involves node, a browser client, and a couple of mobile platforms -- socket.io is great for the server->browser websocket or comet case, but for the mobile case investigating the proper library (or hand rolling a compatible WS/comet implementation) is needed. The step towards standardization will make this type of cross "platform" compatibility easier in the long run.