Hello!

> Yes, I'm going to use such long delimiter because I need to send binary
> data...

If you're sending binary data, don't play with delimiters, but send the
data size first (as a 4-byte longint), then actual data. Client first waits
for data size, then waits for the data_size bytes and stores them. Simple,
fast and reliable. 

-- 
Piotr "Hellrayzer" Dalek
[EMAIL PROTECTED]

--------------------------------------------------------------------
Jestes poszukiwany. Szukaja Cie imprezowicze!
>> http://link.interia.pl/f190a << 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to