02-10 14:23:16.661 22049-22071/org.cocos2d.helloworld D/cocos2d-x debug info: websocket init start
02-10 14:23:16.663 22049-22071/org.cocos2d.helloworld D/WebSocket.cpp: [WebSocket::init] _host: wiw-dev.leanapp.cn, _port: 80, _path: /
02-10 14:23:16.663 22049-22078/org.cocos2d.helloworld D/WebSocket.cpp: WebSocket thread start, helper instance: 0xac207350
02-10 14:23:16.663 22049-22078/org.cocos2d.helloworld D/libwebsockets: NOTICE: Initial logging level 967
02-10 14:23:16.663 22049-22071/org.cocos2d.helloworld D/cocos2d-x debug info: websocket init mid
02-10 14:23:16.663 22049-22078/org.cocos2d.helloworld D/libwebsockets: NOTICE: Libwebsockets version: 1.7.8 linwenhai@LindeMacBook-Pro.local-v3.4-49-g9369eea
02-10 14:23:16.663 22049-22078/org.cocos2d.helloworld D/libwebsockets: NOTICE: IPV6 compiled in and enabled
02-10 14:23:16.663 22049-22078/org.cocos2d.helloworld D/libwebsockets: NOTICE: libev support not compiled in
02-10 14:23:16.663 22049-22071/org.cocos2d.helloworld D/cocos2d-x debug info: websocket init end
02-10 14:23:16.664 22049-22078/org.cocos2d.helloworld D/libwebsockets: NOTICE: Threads: 1 each 1024 fds
02-10 14:23:16.664 22049-22078/org.cocos2d.helloworld D/libwebsockets: NOTICE: mem: platform fd map: 4096 bytes
02-10 14:23:16.664 22049-22078/org.cocos2d.helloworld D/libwebsockets: NOTICE: mem: per-conn: 292 bytes + protocol rx buf
02-10 14:23:19.701 22049-22071/org.cocos2d.helloworld D/cocos2d-x debug info: websocket start to send.
02-10 14:23:19.701 22049-22071/org.cocos2d.helloworld D/cocos2d-x debug info: websocket instance wasn't ready...
02-10 14:23:37.030 22049-22078/org.cocos2d.helloworld D/libwebsockets: NOTICE: wsi 0xac204f70: TIMEDOUT WAITING on 4 (did hdr 0, ah 0xac214cc0, wl 0, pfd events 0)
02-10 14:23:37.030 22049-22078/org.cocos2d.helloworld D/WebSocket.cpp: WebSocket (0xac1f5008) onConnectionError ...
02-10 14:23:37.031 22049-22078/org.cocos2d.helloworld D/libwebsockets: NOTICE: lws_header_table_detach: wsi 0xac204f70: ah held 21s, ah.rxpos 0, ah.rxlen 0, mode/state 13 4,wsi->more_rx_waiting 0
02-10 14:23:37.031 22049-22078/org.cocos2d.helloworld D/WebSocket.cpp: Ready state is closing or was closed, code=2, quit websocket thread!
02-10 14:23:37.031 22049-22078/org.cocos2d.helloworld D/libwebsockets: NOTICE: lws_context_destroy
02-10 14:23:37.031 22049-22078/org.cocos2d.helloworld D/WebSocket.cpp: WebSocket (0xac1f5008) onConnectionClosed ...
02-10 14:23:37.032 22049-22078/org.cocos2d.helloworld D/WebSocket.cpp: WebSocket thread exit, helper instance: 0xac207350
02-10 14:23:37.037 22049-22071/org.cocos2d.helloworld D/cocos2d-x debug info: websocket Send Text fired an error
02-10 14:23:37.037 22049-22071/org.cocos2d.helloworld D/cocos2d-x debug info: websocket instance closed.
02-10 14:23:37.037 22049-22071/org.cocos2d.helloworld D/WebSocket.cpp: In the destructor of WebSocket (0xac1f5008)