Ashley is right- you need to use the Socket.IO Construct 2 plugin to connect to a Socket.IO server. - I've never used that Websocket plugin *shrugs*
I recommend this one : scirra.com/forum/socketio-mod_topic63284.html
I'm also going to try learning the Javascript Plugin SDK to try updating (recreating) the PubNub Plugin. (Pubnub => pubnub.com/)
Good Luck with your Game.
My Socket.IO Settings
io.enable('browser client minification'); // send minified client
io.enable('browser client etag'); // apply etag caching logic based on version number
io.enable('browser client gzip'); // gzip the file
io.set('log level', 3); // ---0 = Errors --- 1 = Warn --- 2 = Info --- 3 = Debug---
io.disable('destroy upgrade');
io.set('transports', [
'websocket'
// // WARNING // // USE ONLY WEBSOCKETS WHEN USING SSL (WSS) SECURE // // WARNING // // USE ONLY WEBSOCKETS WHEN USING SSL (WSS) SECURE // //
// , 'flashsocket'
// , 'htmlfile'
// , 'xhr-polling'
// , 'jsonp-polling'
]);
Note: I wrote that warning some time ago. Someone had mentioned that a secure connection was faulty under other protocols other than a true websocket connection. This may no longer be true, should check up on it if you're curious.