Hi,
Is there a way for me to write my own protocol instead of XML?
if i understand correctly, all smartfox messages are sent over the net as XML or delimited STRING to the client... is there a way for me to overwrite it and send the messages as binary or some other proprietary protocol and also overwriting the parsing in the client side?
if it can be done, can you just give me the steps (which events should i overwrite in the server, how to get the message in the client..) ?
I know that i can overwrite the two internal events pubMsg and privMsg, but can it be used to write my own protocol?
if i'll do it, what will be the overhead of the smartfox client trying to do the first parsing and me doing the second? can i also overwrite the client side parsing?
Thanks a lot.
Oded.
Write my own protocol
-
- Posts: 26
- Joined: 14 Jul 2010, 13:44
It's not possible, sorry. The protocol is already provided to hide all the complexity of it, including serialization and message decoding.
If it was possible to create a new protocol then you would also need to implement those things, which in turn it would mean rewriting 30% of the platform (and the API too!)
If it was possible to create a new protocol then you would also need to implement those things, which in turn it would mean rewriting 30% of the platform (and the API too!)
-
- Posts: 26
- Joined: 14 Jul 2010, 13:44
See this sticky: http://www.smartfoxserver.com/forums/viewtopic.php?t=7439
Smartfox's forum is my daily newspaper.
-
- Posts: 26
- Joined: 14 Jul 2010, 13:44
- mistermind
- Posts: 131
- Joined: 15 Sep 2007, 01:33
- Contact:
-
- Posts: 26
- Joined: 14 Jul 2010, 13:44
It will be a "Release Candidate", ready for production.
The product will stay in "RC" mode until all the features we want to include are complete. Take also in consideration that SFS2X, just like its predecessor, is an ever-evolving product. We are now heading to the first 2.0 release, and after that we'll continue adding components and new ideas that we have gathered in a pretty long todo list.
The product will stay in "RC" mode until all the features we want to include are complete. Take also in consideration that SFS2X, just like its predecessor, is an ever-evolving product. We are now heading to the first 2.0 release, and after that we'll continue adding components and new ideas that we have gathered in a pretty long todo list.
-
- Posts: 26
- Joined: 14 Jul 2010, 13:44
Return to “Server Side Extension Development”
Who is online
Users browsing this forum: No registered users and 19 guests