Hello, somebody, help me... after changing my application to line mode (binary send using line mode, using 4 bytes of unique delimiter)
my application keeps giving me Access Violation Message "0x00406645:write of addess 0x00030e4c' or "0x77d4cd7f: write of address 0x00030ffc" or EAccesViolation Access violation at address 00402444 read of address 1fdbffe0 the access violation is like random addresses... what's wrong? On 2/20/06, Dod <[EMAIL PROTECTED]> wrote: > > Hello Wilfried, > > 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 > way... > > > WM> Hello Widita, > > >> Yes, I'm going to use such long delimiter because I need to send binary > >> data... > > 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> --- > WM> Rgds, Wilfried [TeamICS] > WM> http://www.overbyte.be/eng/overbyte/teamics.html > WM> http://www.mestdagh.biz > > -- > 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 > -- 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
