Why _smartFox.isConnected is not right
Why _smartFox.isConnected is not right
I will judge if client(object-c ios) is connected to server. so I use _smartFox.isConnected.But I found that the result is false even if the client has't disconnected from sever which lead to error:"login error:Another user is already logged with the same name" in the login process.I have looked at the log of the server.Surely the client is not discennected from server.But the judgement _smartFox.isConnected return false.
Re: Why _smartFox.isConnected is not right
Moved to the correct section.
- A51Integrated
- Posts: 240
- Joined: 03 Jan 2012, 19:55
- Location: Toronto, Canada
- Contact:
Re: Why _smartFox.isConnected is not right
Try:
instead.
Code: Select all
[_smartFox isConnected];
instead.
A51 Integrated
http://a51integrated.com / +1 416-703-2300
http://a51integrated.com / +1 416-703-2300
Return to “SFS2X iPhone / iPad / OSX API”
Who is online
Users browsing this forum: No registered users and 38 guests