Raw String Messages

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
Sandyx
Posts: 21
Joined: 06 Sep 2008, 10:54

Raw String Messages

Post by Sandyx »

hi

i need to send simple string messages to the client and vice versa, should i be using to send to the client ..

_server.sendResponse( , with the message type defined as "str"

.

We need to send a LOT of these of simple string packets, and very quickly , so need something that adds the minimum overhead to the data .

Thanks
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Yes, use the raw format.
Paolo Bax
The SmartFoxServer Team
Sandyx
Posts: 21
Joined: 06 Sep 2008, 10:54

Post by Sandyx »

raw format ? .... is there another method for that .. i was assuming str would be the same a raw ?
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

"Raw protocol" or "string protocol" are the same, we just use both names for the same thing. Sorry for the confusion.
Paolo Bax
The SmartFoxServer Team
Post Reply