Search code examples
windows-phone-8websocketsocket.iosails.jsnetduino

Sails.js - Choose between websocket or socket.io


I want to use socket.io instead of websocket with sails.js framework.

I know I saw something about that two days ago but I don't remember where...

Do you know where can I choose between both? Because my client is WP8/Netduino and can only use socket.io protocol, not the websocket.

Thank you.


Solution

  • Sails.js uses socket.io, which, in it's turn, uses WebSocket as one of it's preferred transports, if it's available.