Ah, so those are data streams. Sorry I missed that (using NIO socket channels here :)

Then you should be ok with packet fragmentation - as long as your read method checks for '\0' anywhere within the buffer.

-- Kostya

01.06.2010 11:43, ayanir пишет:
Kostya, I did as you suggested and I'm now looking for the delimiter
('\0') on the of the last read buffer and not just the last byte.
I didn't understand how can I check the return value in the write()
method since it is declared as void. is there another way?


--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to