Post here all your questions related with SmartFoxServer Java API
Moderators: Bax, Lapo, rjgtav
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
- Posts: 3
- Joined: 10 Jul 2009, 15:52
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).
The SmartFoxServer Team
- Site Admin
- Posts: 4022
- Joined: 29 Mar 2005, 09:50
- Location: Italy
Return to Java2SE / Android Client API
Who is online
Users browsing this forum: No registered users and 0 guests