Hi all,
The status of this task is:
- it is finished for v3
- v2 is fixed except of windows and wp8, has compiling error on these two platforms because of upgrading libwebsockets. Will support them ASAP.
How to do
You can just update libwebsockets and CURL like this:
- modify Cocos2d-x root/external/config.json to update the dependency version. For v3.x the dependency version is
v3-deps-94
, and for v2.x it isv2-deps-6
- execute the download-deps.py script in your Cocos2d-x root.
Edit: i also modify Console and ScriptingCore to support IPv6-only network in this PR, but i think it is not needed for you to do like this because they are just for testing, not be used in game logic.
If you are using v2.x, you also need to apply this commit to fix compiling error.
Edit: windows compiling issue of v2 is fixed, you need to download v2-deps-v7 instead if you work on windows. And you may need to link ws2_32.lib in libexternal project. Refer to this commit for detail information.