Skip to content

Error trying to connect http server with socket.io #25

@ottopic

Description

@ottopic

I'm trying to use that library but it get error when I try to connect with socket.io

[INFO] : error!"{"code":0,"message":"Transport unknown"}"
[INFO] : error!"HTTP error"

var io = require('socket.io'),
socket = io.connect(uri);

socket.on('connect', function (e) {
    Ti.API.log('connected!');
});


socket.on('error', function (e) {
    Ti.API.log('error!' + JSON.stringify(e));
});

How can help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions