跪求大神帮帮忙啊
ios 是用数据流量可以链接webSocket 但是用wify 就谅解不上了,而android 都是正常的。给出的调试信息是这样的
把域名换成ip android 和ios 都是就是可以的
。[LUA-print] www.yygamesoft.com : 8082
D/WebSocket.cpp (416): WebSocket thread start, helper instance: 0x1740ba520
D/WebSocket.cpp (167): NOTICE: Initial logging level 911
D/WebSocket.cpp (167): NOTICE: Libwebsockets version: 2.1.0 james@James-Chen.local-v3.4-139-gbdcf7f8
D/WebSocket.cpp (167): NOTICE: IPV6 compiled in and enabled
D/WebSocket.cpp (167): NOTICE: libev support not compiled in
D/WebSocket.cpp (167): NOTICE: libuv support not compiled in
D/WebSocket.cpp (167): NOTICE: Threads: 1 each 4864 fds
D/WebSocket.cpp (167): NOTICE: mem: platform fd map: 38912 bytes
D/WebSocket.cpp (167): NOTICE: Compiled with OpenSSL support
D/WebSocket.cpp (167): NOTICE: mem: per-conn: 512 bytes + protocol rx buf
D/WebSocket.cpp (874): scheme: ws, host: www.yygamesoft.com, port: 8082, path:
D/WebSocket.cpp (167): NOTICE: Creating Vhost 'default' port -1, 1 protocols, IPv6 on
D/WebSocket.cpp (167): NOTICE: lws_protocol_init
D/WebSocket.cpp (1323): WebSocket (0x103551030) Unhandled websocket event: 32
D/WebSocket.cpp (1323): WebSocket (0x103551030) Unhandled websocket event: 29
D/WebSocket.cpp (1323): WebSocket (0x103551030) Unhandled websocket event: 33
D/WebSocket.cpp (1198): WebSocket (0x103551030) onConnectionError, state: 0 ...
D/WebSocket.cpp (1227): WebSocket (0x103551030) onConnectionClosed, state: 2 ...
D/WebSocket.cpp (1257): onConnectionClosed, WebSocket (0x103551030) is closing by server.
D/WebSocket.cpp (1280): WebSocket (0x103551030) onConnectionClosed DONE!
D/WebSocket.cpp (1227): WebSocket (0x103551030) onConnectionClosed, state: 3 ...
D/WebSocket.cpp (1198): WebSocket (0x103551030) onConnectionError, state: 3 ...