A bi-directional WebSocket protocol makes possible more interaction between a browser and a web site, facilitating creation of real-time games.

learn more… | top users | synonyms

0
votes
1answer
226 views

How to use Cocos2dJS to connect to a Socket.IO server?

How can I connect to a nodejs socket.io server from a cocos2djs game? I've google all the way to no avail. I tried this but it does not work: socket = io.connect('http://192.168.254.102:7714'); if ( ...