Socket.IO文档为Windows 8现代/ metro应用程序与MessageWebSocket [英] Socket.IO documentation for Windows 8 modern/metro app with MessageWebSocket

查看:255
本文介绍了Socket.IO文档为Windows 8现代/ metro应用程序与MessageWebSocket的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于上一个问题,我问了,我正在构建一个Windows 8 c ++需要我连接到运行socket.io的Node.js服务器的应用程序。

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.

socket.io在websockets上使用任何类型的特殊协议吗?当我只是干连接,我得到一个错误HTTP无效的响应。

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."

我看到一些c ++ websocket实现,但我有一点很难将这些概念转换为Windows 8的websocket实现。

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.

推荐答案

检查Windows应用程序的实现,端口到socket.io的.Net客户端的WinRT(C#)。

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/

这篇关于Socket.IO文档为Windows 8现代/ metro应用程序与MessageWebSocket的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆