Page 1 of 1
How do i get bytes size of the data sent by sfs to client?
Posted: 27 Aug 2007, 08:51
by darnpunk
As above,
How do I get the bytes size of the data sent and received by sfs/client? I need to know if there is a way.
Regards,
darnpunk
Posted: 30 Aug 2007, 04:45
by darnpunk
So is there any way? Yes? No?
Posted: 31 Aug 2007, 23:35
by Blank_101
Each message comes in as a String. Since each character in a string is 1 byte, just use String.length of each incoming message to determine the byte size of the message. You will probably need to add a trace somewhere inside the SmartFoxClient.as file to catch the incoming message.
Posted: 01 Sep 2007, 01:45
by darnpunk
Hi Blank_101!
Thanks for the input. That's one good method but is there a way to do it with some tools? Or can I actually use the debug method? But I will try with the solution you suggested. Thanks!
Regards,
darnpunk