verChk usage help

Post here all your questions related with SmartFoxServer Java API

Moderators: Bax, Lapo, rjgtav

tenochca
Posts: 3
Joined: 10 Jul 2009, 15:52

verChk usage help

Postby tenochca » 24 Jan 2012, 20:46

Recently I wanted to use the following message :
<msg t='sys'><body action='verChk' r='10'><ver v='1153' /></body></msg>
And query smarfox on the version number.

However I am unable to get anything other than this:

<msg t='sys'><body action='apiOK' r='0'></body></msg>

Regardless of what I sent in the original message (I have sent ‘r’, ‘v’ with all sort of values and the answer is still the same (as above).

Perhaps I am missing something ?. Is there something else I need to do to make this work? There is no internal event for this kind of thing (at least not one that can be caught in the internal event handler of the extension)

I am using Smartfox 1.6.9

Thank you
User avatar
Bax
Site Admin
Posts: 4140
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 25 Jan 2012, 08:31

That message is used by the API internally, you can't use it. Also, as you can see it doesn't return a version number, but it is just used by SFS to validate the API version number (in case in the future we should prevent older API to connect).
Paolo Bax
The SmartFoxServer Team

Return to “Java2SE / Android Client API”

Who is online

Users browsing this forum: No registered users and 1 guest