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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top