Wifi connectivity problem

Post here all your questions related with the SmartFoxServer iPhone API

Moderators: Lapo, Bax

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

Wifi connectivity problem

Post by jeeteshb »

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

Post by tgate »

Code: Select all

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

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

Post by jeeteshb »

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
Post Reply