Hi Friends, I am developing and android chat application using alloy framework, I would like to make a websocket connection with our server to get chat messages. Our web app already using websocket connection for the same and which is done using socket.io. in my alloy code i used code like below to make websocket connection.
var io = require('socket.io') socket = io.connect('http://xxxxxx:8000', {}); socket.on("msg_from", function(data) { alert(data); });But this gives an error in Titanium console, See error below
D/HybiParser( 342): Creating frame for: 2:: op: 1 err: -1Anyone please help me to fix this, thanks in advance