Quantcast
Viewing all articles
Browse latest Browse all 8068

can't connect socket.io on android

I try socket.io-titanium.

I download this project, and test it. https://github.com/nowelium/socket.io-titanium

On iPhone simulator It is good. I can connect server and send message. But on android, cannot connect server. My Android Phone and Android simulator also.

This is all server log,

debug - client authorized.
info  - handshake authorized wKImo25QgJ8ChdKY0qHm
win_ti.js
 
var channelTable = Titanium.UI.createTableView();
 
var chat = socket.of('/chat');
chat.on('available_channel', function(channels){
<- cannot enter this point
I think maybe network matter. But, It is not trouble on iPhone. Please do you know a solution ? Titanium SDK: 3.1.3

thanks.


Viewing all articles
Browse latest Browse all 8068

Trending Articles