Wifi connectivity problem

Post here all your questions related with the SmartFoxServer iPhone API

Moderators: Lapo, Bax

jeeteshb
Posts: 7
Joined: 24 Jun 2010, 08:33
Location: India
Contact:

Wifi connectivity problem

Postby jeeteshb » 07 Aug 2010, 12:43

Hi,

We are facing one problem when the wifi goes off and comes back again. The server doesn't respond to the player.

- If the wifi goes and comes back again, does the connectivity between the player and server is lost and do we have to connect and login again. And If it is so, how we can do it.


Regards,
Jeetesh
Game Developer
Jeetesh Bhoria
tgate
Posts: 3
Joined: 05 Jul 2010, 18:30

Postby tgate » 07 Aug 2010, 17:02

Code: Select all

-(void)onConnectionLost:(INFSmartFoxSFSEvent *)evt
{
[smartFox loadConfig:@"config" autoConnect:YES];
}

jeeteshb
Posts: 7
Joined: 24 Jun 2010, 08:33
Location: India
Contact:

Postby jeeteshb » 12 Aug 2010, 08:19

When Wifi goes off, in server we aren't getting that user has been lost. When wifi comes back we are trying to connect "[smartFox loadConfig:@"config" autoConnect:YES];" but still when we are playing its not updating in server.
Game Developer

Jeetesh Bhoria

Return to “iPhone Objective-C API”

Who is online

Users browsing this forum: No registered users and 14 guests