Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
slacken-github opened this issue Aug 2, 2018 · 0 comments
Open

Comments

@slacken-github
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant