Hi all. Thanks for putting up with me. I finally got it all to work using base64Encode/Decode on the encrypted string before sending it with a delimiter appended. Same thing coming back.
Thank for all your patience. I almost became a patient myself. Bob S > On Jul 8, 2022, at 19:14 , Bob Sneidar via use-livecode > <firstname.lastname@example.org> wrote: > > It looks after the agent receives it generally like how it looked after I > encoded the array but before I sent it. Obviously it's not the same. > Something is corrupting it over the wire. I am not even using encryption now, > just sending the encoded array data and a delimiter. When it decodes on the > other end now, arrayDecode fails. > > I guess the question I *should* be asking is, how do I encode binary data to > be sent over the wire so that it doesn't become corrupted? > > Bob S > > >> On Jul 8, 2022, at 17:48 , Mark Wieder via use-livecode >> <email@example.com> wrote: >> >> On 7/8/22 16:49, Bob Sneidar via use-livecode wrote: >>> Well I disabled encryption alltogether, sending and receiving an encoded >>> array instead. Upon trying to decode I still get an error, and looking at >>> what I get back, it LOOKS like an encoded array. They is just something >>> wrong with the data. Curiously, if I just send and receive plain text it >>> works every time. >> >> Not sure what "looks like" an encoded array should mean. >> When you encode an array you get binary data. You can't treat it like text. >> >> -- >> Mark Wieder >> ahsoftw...@gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> firstname.lastname@example.org >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > email@example.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list firstname.lastname@example.org Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode