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

websocket在web pc 正常,但是moblie web 跟 native 就直接close

$
0
0

@35785998 写道:

`连接服务器
[WebSocket::init] _host: 192.168.3.88, _port: 8400, _path: /
WebSocket thread start, helper instance: 079EC8A8
NOTICE: Initial logging level 967

NOTICE: Libwebsockets version: 1.6.0 unknown-build-hash

NOTICE: IPV6 not compiled in

NOTICE: libev support not compiled in

NOTICE: mem: per-conn: 280 bytes + protocol rx buf

WebSocket (07CE0B28) onConnectionError ...
Ready state is closing or was closed, code=2, quit websocket thread!
NOTICE: lws_context_destroy

WebSocket (07CE0B28) onConnectionClosed ...
WebSocket thread exit, helper instance: 079EC8A8
无法连接服务器,请检查您的网络或者联系游戏客服!
doClose [object Object]
`

这是为何?握手可以正常,但是只要发送数据,就提示上面的错误

帖子: 3

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



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