使用.NET Socket.io 1.2.1和团结 [英] Socket.io 1.2.1 and Unity using .net

查看:284
本文介绍了使用.NET Socket.io 1.2.1和团结的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发具有统一的应用程序的游戏。我想使用socket.io通信与节点服务器。我发现socketio4net但它只是对旧版本socket.io的。 我必须使用socket.io,因为我用这个服务器与浏览器进行通信。 当我尝试使用旧版本的连接,我有:

  

错误iniatlising handsake用//本地主机

解决方案

我已经使用了BestHTTP(的 https://www.assetstore.unity3d.com/#/content/10765 )与过去大获成功的资产,他们只是增加了官方的支持Socket.IO:

http://forum.unity3d.com/threads/best-http-released.200006/page-6#post-1937191

I currently develop an application game with unity. I want to use socket.io for communication with a node server. I found socketio4net but it's only for old version of socket.io. I have to use socket.io because I use this server to communicate with browser. When I try to connect using the old version I have:

Error iniatlising handsake with //localhost

解决方案

I've used the BestHTTP (https://www.assetstore.unity3d.com/#/content/10765) asset with great success in the past and they just added official support for Socket.IO:

http://forum.unity3d.com/threads/best-http-released.200006/page-6#post-1937191

这篇关于使用.NET Socket.io 1.2.1和团结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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