hii..im newbie in smartfox..
i want to learn about smartfoxserver and developing a virtual world for my coursework..
i have one question about smartfox..
what default protocol does smartfoxserver used?
in smartfox document it said smartfox using xml for default protocol..
and in other document (http://docs2x.smartfoxserver.com/AdvancedTopics/using-udp-protocol) it said the default protocol used is TCP..
or
xml over tcp?
[ask] smartfoxserver protocol
[ask] smartfoxserver protocol
sorry for my 'newbie' english
Hi. Those are different products:
- SFS1x - that yes, uses xml protocol
- SFS2x - a much more improved server which uses TCP protocol (and can also use UDP)
For the SFS1x documentation you can check at www.smartfoxserver.com/docs
For the SFS2x documentation you can check at http://docs2x.smartfoxserver.com
Hope this helps
- SFS1x - that yes, uses xml protocol
- SFS2x - a much more improved server which uses TCP protocol (and can also use UDP)
For the SFS1x documentation you can check at www.smartfoxserver.com/docs
For the SFS2x documentation you can check at http://docs2x.smartfoxserver.com
Hope this helps
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
I think there's some confusion about the term 'protocol'. It can be used for two ways. The internet protocol and the message protocol.
SFS1x uses TCP internet protocol
SFS2x uses both TCP and UDP internet protocol
SFS1x uses XML message protocol for its core messaging. You can however send custom messages using JSON or STR protocol.
SFS2x uses binary message protocol which is a lot lighter than its predecessor. See http://docs2x.smartfoxserver.com/Overview/sfs2x-protocol
SFS1x uses TCP internet protocol
SFS2x uses both TCP and UDP internet protocol
SFS1x uses XML message protocol for its core messaging. You can however send custom messages using JSON or STR protocol.
SFS2x uses binary message protocol which is a lot lighter than its predecessor. See http://docs2x.smartfoxserver.com/Overview/sfs2x-protocol
Smartfox's forum is my daily newspaper.
Oh, learned one thing today
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Re: [ask] smartfoxserver protocol
Just wondering if the binary message format for SFS 2X is a SmartFox proprietary format, or developed elsewhere (e.g. Adobe)?
Re: [ask] smartfoxserver protocol
Yes, it is a custom protocol, developed in house.
Re: [ask] smartfoxserver protocol
If you were using WebSockets though, I understand JSON is used as the message format, is that right?
Re: [ask] smartfoxserver protocol
If I wanted to send custom-format XML documents between client and server, would that be difficult since the websockets mode uses JSON rather than XML?
Re: [ask] smartfoxserver protocol
No, I think you should be able to send it without any problems.
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 75 guests