Reconnection woes

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

Moderators: Lapo, Bax

Post Reply
clam61
Posts: 125
Joined: 12 Sep 2007, 02:00

Reconnection woes

Post by clam61 »

After the connection is lost, subsequent attempts to reconnect never work. Its not a server issue because if I kill the app (so that a new SmartFox2XClient object gets created) and restart it connects perfectly.

I dont know what version of the API I am using, but I downloaded it within the past 3 months or so.

Has anyone heard of this issue?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Reconnection woes

Post by Lapo »

A couple of things

1) The API Version is obtain by checking the version proprety on the SmartFox2XClient object
2) Can you describe more in detail the error that you are getting and how are you testing the disconnection?

Thank
Lapo
--
gotoAndPlay()
...addicted to flash games
clam61
Posts: 125
Joined: 12 Sep 2007, 02:00

Re: Reconnection woes

Post by clam61 »

running 1.1.5, but looks like from the threads, 1.1.8 has issues and 1.1.7 has some issues with arm7 so maybe i should try 1.1.6?

i didnt get any error message. It just never was able to connect. even after calling disconnect and then connect--no response to event handlers.

i had to kill the app completely (thereby destroying that SFS2XClient instance) and restart it (creating a new SFS2XClient instance) before i was able to connect
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Reconnection woes

Post by Lapo »

The problem with 1.1.8 is only related to the backward compatibility with iOS 5.
Lapo
--
gotoAndPlay()
...addicted to flash games
clam61
Posts: 125
Joined: 12 Sep 2007, 02:00

Re: Reconnection woes

Post by clam61 »

what about 1.1.7

is that now compatible wiith arm7?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Reconnection woes

Post by Lapo »

1.1.7 and 1.1.8 are exactly the same code, but we fixed an issue with the support of armv7 architecture.
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply