Debugging connection failures

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

Moderators: Lapo, Bax

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

Debugging connection failures

Postby clam61 » 20 May 2013, 23:24

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: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Debugging connection failures

Postby Lapo » 21 May 2013, 08:06

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

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 30 guests