问题
Relating to a previous question I asked, I am building a Windows 8 c++ App that requires me to connect to a Node.js server running socket.io.
Does socket.io use any sort of special protocol on top of websockets? When I just do a dry connection, I get an error "HTTP Invalid Response."
I see a number of c++ websocket implementations, but I'm having a bit of a hard time trying to translate those concepts into the Windows 8 websocket implementation.
回答1:
Check this implementation for windows store apps, it's a port to WinRT (C#) of the .Net client of socket.io.
https://socketio4winrt.codeplex.com/
来源:https://stackoverflow.com/questions/14486655/socket-io-documentation-for-windows-8-modern-metro-app-with-messagewebsocket