Page 1 of 1

Raw String Messages

Posted: 20 Sep 2008, 07:47
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

Posted: 22 Sep 2008, 07:22
by Bax
Yes, use the raw format.

Posted: 22 Sep 2008, 07:49
by Sandyx
raw format ? .... is there another method for that .. i was assuming str would be the same a raw ?

Posted: 22 Sep 2008, 07:59
by Bax
"Raw protocol" or "string protocol" are the same, we just use both names for the same thing. Sorry for the confusion.