Hi everyone!
Now I’m need socket io for my game but I can not use it.
I followed this tutorial http://qiita.com/kuuki_yomenaio/items/c25477c9394c1709019b but I realise that it only work with project visual studio on windows. When I run my code with iOS project on Mac OS X, socket io didn’t work, it always log that “fail”.
I searched many time for solution about socket io in cocos2d-x on iOS project but nothing effective.
Please help me a solution to solve this trouble.
My development:
- Cocos2d-x V3.2
- Mac OS X 10.10.1 Yosemite
- Xcode 6.0.1
- Socket io server: nodejs with socket.io module - listen on 127.0.0.1:8080 (run fine & tested)
Thanks for any reply!