New socket.io (1.0.4) has updated.
many changes are updated.
in this cocos2dx version can’t connect to the new version of socket.io server
so i changed little but can’t go to next step (open websocket)
i need help
see my work
-
changed connect url for handshake
https://github.com/cocos2d/cocos2d-x/blob/v3/cocos/network/SocketIO.cpp#L121 -
parse response of handshake
https://github.com/cocos2d/cocos2d-x/blob/v3/cocos/network/SocketIO.cpp#L178L204 -
open websocket url <— can’t find url help
https://github.com/cocos2d/cocos2d-x/blob/v3/cocos/network/SocketIO.cpp#L217