Debugging connection failures

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

Debugging connection failures

Post by clam61 »

I am trying to connect via

Code: Select all

[_smartFox connect:_gameServerUrl port:_gameServerPort];
i confirmed the host and port are correct. the flash version of my game can connect no problem, but my iOS version cannot.

i dont see any ouptut in the server logs relating to a connection failure. not sure where else to look for an issue.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Debugging connection failures

Post by Lapo »

Are you handling the OnConnection event?

Code: Select all

-(void)onConnection:(SFSEvent *)evt;
What kind of response are you getting back?

Is the Flash client running on the same machine as the iOS app?

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply