Domanda

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.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top