Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88950

NativeSocket 连接不上,web下socket.io连接没有问题,在线求帮助

$
0
0

@yetnelson 写道:

beimi开源代码,docker部署服务端没有问题,CocosCreator 执行Web没有问题,但模拟器下执行错误如下:

Simulator: JSB SocketIO::SIODelegate->onError method called from native with data: 请求超时。
Simulator: JSB SocketIO::SIODelegate->fireEventToScript method called from native with name 'error' data: 请求超时。
Simulator: JSB SocketIO::SIODelegate->onClose method called from native
Simulator: JSB SocketIO::SIODelegate->fireEventToScript method called from native with name 'disconnect' data:

确定服务端没有问题,不存在防火墙等问题,在线求帮助

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>