Skip to content

Why SIOSocket in Xcode Obj c very high flood connection ?? #72

@slacken-github

Description

@slacken-github

I use this syntax for check client connected to my node server.

io.sockets.on('connection', function (socket) {}

I'm use socket.io in php (javascript). and these service show connection every 3-5 minutes/connection. Ok that good.

but I use in Xcode (Obj C) for create app client with syntax like this.

`[SIOSocket socketWithHost:socketHostUrl response:^(SIOSocket *socket) {
self.socket = socket;
__weak typeof(self) weakSelf = self;
self.socket.onConnect = ^()
{
NSLog(@"Is connected and authorized.");
weakSelf.socketIsConnected = YES;

    };
}];`

it's very high flood connection to my node server.

Why?? how do I fix it.

thank you for advance.

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