Encrypted Data over Sockets

Bob Sneidar bobsneidar at iotecdigital.com
Fri Jul 8 22:14:42 EDT 2022

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 <use-livecode at lists.runrev.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
> ahsoftware at gmail.com
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the use-livecode mailing list