Help with Client/Server GameKit
Help with Client/Server GameKit
- Subject: Help with Client/Server GameKit
- From: John Gentilin <email@hidden>
- Date: Thu, 14 Jan 2010 11:34:51 -0800
This may net be the right list but hopefully someone has seen this
issue and can help me out...
I have an IPhone app using GameKit, in client server mode. After I
terminate
the Client App a few times with the home button, it fails to connect to
the server.
The problem is, when I send the message, connectToPeer, I receive a timeout
error on from the connectionWithPeerFailed, the timeout is set to 30
seconds.
Once its in this state one odd thing I notice is that it appears to go
into Device
Available state at the wrong time, i.e. sometimes even if the server is
not running
I get a server available state change. If I terminate the server app,
and restart the
problem does not appear to exist, the client will always connect. If
the client is
in the bad state, if I restart both apps, they will usually connect.
Also in this state if I
debug the Client / Server or both.. I can see state change messages in
the console for
the client, but the server is silent... Its almost like the client can
no longer resolve the
name of the server device.. Any ideas ?
Thank you
John Gentilin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden