Skip to content

No possible to connect or get some error, just 1000+ requests #36

@ikresoft

Description

@ikresoft

try {
Socket socket = IO.socket("http://192.168.3.100:8000");
socket.on(Socket.EVENT_ERROR, new Emitter.Listener() {
@OverRide
public void call(Object... args) {
Object arg = args[0];
Log.i("SOCKETIO", "error: " + (arg != null ? arg.toString() : ""));
}
});
socket.connect();
} catch (URISyntaxException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

192.168.3.103 - - [2014-08-31 08:54:22] "GET /socket.io/?EIO=3&transport=polling HTTP/1.1" 200 158 0.001698
192.168.3.103 - - [2014-08-31 08:54:22] "GET /socket.io/?EIO=3&transport=polling HTTP/1.1" 200 158 0.001080
192.168.3.103 - - [2014-08-31 08:54:22] "GET /socket.io/?EIO=3&transport=polling HTTP/1.1" 200 158 0.001108
192.168.3.103 - - [2014-08-31 08:54:22] "GET /socket.io/?EIO=3&transport=polling HTTP/1.1" 200 158 0.001145
192.168.3.103 - - [2014-08-31 08:54:22] "GET /socket.io/?EIO=3&transport=polling HTTP/1.1" 200 158 0.001072
192.168.3.103 - - [2014-08-31 08:54:22] "GET /socket.io/?EIO=3&transport=polling HTTP/1.1" 200 158 0.001219
192.168.3.103 - - [2014-08-31 08:54:22] "GET /socket.io/?EIO=3&transport=polling HTTP/1.1" 200 158 0.001096
192.168.3.103 - - [2014-08-31 08:54:22] "GET /socket.io/?EIO=3&transport=polling HTTP/1.1" 200 158 0.001041
192.168.3.103 - - [2014-08-31 08:54:22] "GET /socket.io/?EIO=3&transport=polling HTTP/1.1" 200 158 0.001074
192.168.3.103 - - [2014-08-31 08:54:23] "GET /socket.io/?EIO=3&transport=polling HTTP/1.1" 200 158 0.001475
192.168.3.100 - - [2014-08-31 08:55:28] "GET /socket.io/?EIO=3&transport=polling HTTP/1.1" 200 158 0.004009
192.168.3.100 - - [2014-08-31 08:55:39] "GET /socket.io/?EIO=3&transport=polling HTTP/1.1" 200 158 0.004575

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions