Socket IO emit error

Socket IO emit error
0.0 0


Please help!

I’m trying to test socketIO following this source code:
But server emit or client listener does not work in simulator. Here is the log:

Simulator: JSB SocketIO.connect method called
Simulator: Calling native SocketIO.connect method
Simulator: In the constructor of HttpClient!
Simulator: JSB SocketIO eventName to: ‘connected’
Simulator: JSB SocketIO eventName to: ‘error’
Simulator: JS: Activate: 11.396000000000015ms
Simulator: Websocket error received: 2
Simulator: JSB SocketIO::SIODelegate->onClose method called from native
Simulator: JSB SocketIO::SIODelegate->fireEventToScript method called from native with name ‘disconnect’ data: