Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17117

Cannot connect to the netty-socketio socket.io server

$
0
0

@OC1 wrote:

Using cocos2d-x 3.10. The socketio server will throw exception "java.lang.NumberFormatException: For input string: "true"" when the game connect to it. The reason should be the b64 parameter in this line of code "pre << "http://" << _uri << "/socket.io/1/?EIO=2&transport=polling&b64=true";" in SocketIO.cpp, but even when I change it to "b64=1" the connection remain failed with no error. Please help. Thank you!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17117


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>