Does the iPhone client API work with the Lite server?

Post here all your questions related with the SmartFoxServer iPhone API

Moderators: Lapo, Bax

doctorgonzo
Posts: 3
Joined: 06 Jun 2009, 03:26
Contact:

Does the iPhone client API work with the Lite server?

Postby doctorgonzo » 06 Jun 2009, 03:29

I get hung at the "connecting..." screen when I try either example with the Lite version of SmartFoxServer. Should this be able to work?

In the developer console I see the following:

[Session started at 2009-06-05 23:47:03 -0500.]
2009-06-05 23:47:05.273 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] SmartFoxiPhoneClient:init
2009-06-05 23:47:05.275 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient:setupMessageHandlers
2009-06-05 23:47:05.276 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxSysHandler:initWithParams sfs:<INFSmartFoxiPhoneClient: 0x32bbe0>
2009-06-05 23:47:05.290 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient:addMessageHandler key:sys handler:INFSmartFoxSysHandler
2009-06-05 23:47:05.290 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient:addMessageHandler key:xt handler:INFSmartFoxExtHandler
2009-06-05 23:47:05.290 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient::loadConfig
2009-06-05 23:47:05.292 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient:connect ipAdr:127.0.0.1 port:9339
2009-06-05 23:47:05.307 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient:initialize isLogOut:0
2009-06-05 23:47:05.318 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient:handleSocketConnection
2009-06-05 23:47:05.319 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient:send action:verChk fromRoom:0 message:<ver v='154' />
2009-06-05 23:47:05.319 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient:makeXmlHeader
2009-06-05 23:47:05.319 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient:closeHeader
2009-06-05 23:47:05.320 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient:writeToSocket data:<msg t='sys'><body action='verChk' r='0'><ver v='154' /></body></msg> len:70
2009-06-05 23:47:05.320 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] WRITE - Creating a new buffer
2009-06-05 23:47:05.320 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] WRITE - Written directly to outStream len:70
2009-06-05 23:47:05.321 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] WRITE - No data to send
2009-06-05 23:47:05.328 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] Read directly from inStream len:41
2009-06-05 23:47:05.328 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient:handleMessage
2009-06-05 23:47:05.330 iPhoneSmartFoxiPhoneClient_SimpleChat[370:20b] INFSmartFoxiPhoneClient:xmlReceived
Entity: line 1: parser error : Premature end of data in tag body line 1
<msg t='sys'><body action='apiOK' r='0'>
^
Entity: line 1: parser error : Premature end of data in tag msg line 1
<msg t='sys'><body action='apiOK' r='0'>
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 06 Jun 2009, 05:19

SmartFoxServer Lite is not supported.
You should use SmartFoxServer PRO, which also comes with a free 20 users license and no time limits
Lapo
--
gotoAndPlay()
...addicted to flash games
roocell
Posts: 29
Joined: 10 Jun 2009, 20:12

Postby roocell » 25 Aug 2009, 11:30

is using the SmartFoxServer Lite version just a matter of getting the API to work with it?
or is there something fundamental missing that only the PRO server has?
NOTE: I dont need server side extensions.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 25 Aug 2009, 11:49

SFS Lite doesn't share the same server engine of SFS Basic and PRO and it is very limited in the amount of features and does not support Actionscript 3.

Comparisons here:
http://www.smartfoxserver.com/products/
Lapo

--

gotoAndPlay()

...addicted to flash games
ingaham
Posts: 2
Joined: 22 Jun 2010, 13:06

Postby ingaham » 22 Jun 2010, 13:18

I want to do an extension of the existed IPhone Objective C API to the Lite Server too (it's absolute necessary for me).
I began to improve the existed API(for PRO server), but i'm sure, that I need to send another commands (another xml expressions) to connect to the Lite server, than the PRO server.
How can I know the valid xml commands, which I should send to connect and login a room on the Lite Server?
Or know someone an existed solution of my problem?

Thanks for your answers!

Return to “iPhone Objective-C API”

Who is online

Users browsing this forum: No registered users and 24 guests