user disconnected,But [_smartFox isConnected] is true

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

zzc11414
Posts: 59
Joined: 26 Jun 2012, 03:17

user disconnected,But [_smartFox isConnected] is true

Postby zzc11414 » 06 Sep 2012, 14:54

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.
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

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

Postby rjgtav » 06 Sep 2012, 20:58

Hi.
What Client are you using? Are you using the latest CLient API versiona and the latest server patch?
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
zzc11414
Posts: 59
Joined: 26 Jun 2012, 03:17

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

Postby zzc11414 » 07 Sep 2012, 01:28

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
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

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

Postby rjgtav » 07 Sep 2012, 13:19

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.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 12 guests