@huahua8893 写道:
[WebSocket::init] _host: 192.168.1.113, _port: 8001, _path: /ws
WebSocket thread start, helper instance: 0AB486A8
NOTICE: Initial logging level 967NOTICE: 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 (0A91B700) onConnectionError ...
Ready state is closing or was closed, code=2, quit websocket thread!
NOTICE: lws_context_destroyWebSocket (0A91B700) onConnectionClosed ...
WebSocket thread exit, helper instance: 0AB486A8
ws onerror
ws onclose
In the destructor of WebSocket (0A91B700)使用版本为1.3.1的Creator下的simulator.exe运行cocos2dx-js项目,cocos2dx-js版本位3.13.1,问题是WEB环境下可以正常连接,请问有人知道原因吗
帖子: 5
参与者: 1