But you also could create a delimiter #00#00 and search if exists in
you data, then try #00#01 ... then #00#02 and if you reach #FF#FF add
a third delimiter #00#00#00, #00#00#01, #00#00#02 ... until you
finally found a delimiter that do not exists.
Of course this is not a really good solution as it could take a while
to find non existing delimiter, but if you really want to use
delimiters without base64 and don't want to escape it, then it is one
WM> Hello Widita,
>> Yes, I'm going to use such long delimiter because I need to send binary
WM> But your protcol will fail if this string is in the binary data you
WM> send. Dont tell me the chance is low. Think on Murphy's law: if it is
WM> possible then it will happen.
WM> Rgds, Wilfried [TeamICS]
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