Page 1 of 1

user disconnected,But [_smartFox isConnected] is true

Posted: 06 Sep 2012, 14:54
by zzc11414
Sometimes,I found that the server logs give the information that the user has logged out.But at the client,I want to judge if the client has connected to server,I use [_smartFox isConnected] to judge,But [_smartFox isConnected] is still true.This is very strange.

Re: user disconnected,But [_smartFox isConnected] is true

Posted: 06 Sep 2012, 20:58
by rjgtav
Hi.
What Client are you using? Are you using the latest CLient API versiona and the latest server patch?

Re: user disconnected,But [_smartFox isConnected] is true

Posted: 07 Sep 2012, 01:28
by zzc11414
rjgtav wrote:Hi.
What Client are you using? Are you using the latest CLient API versiona and the latest server patch?
My SFS2X server: version 2.0.1 windows no patch
client:objective-c ,I find the framework:SFS2XAPIIOS is build in 3.27 2012

Re: user disconnected,But [_smartFox isConnected] is true

Posted: 07 Sep 2012, 13:19
by rjgtav
Please update to the latest server patch (2.2.0) which you can get from http://www.smartfoxserver.com/download/sfs2x#p=updates
And also use the latest Client API that is also on that webpage.