Sockets (again)
Tom Glod
tom at makeshyft.com
Sun Apr 9 20:40:32 EDT 2023
Thanks guys, this was a very insightful thread.
On Wed, Apr 5, 2023 at 1:31 PM Mark Wieder via use-livecode <
use-livecode at lists.runrev.com> wrote:
> On 4/5/23 08:13, Bob Sneidar via use-livecode wrote:
> > Thanks Phil. Yes I learned the hard way with my SQL Agent to
> base64encode anything over sockets. And yes I do append a numtochar(13)
> coming and going and strip it off before decoding and read until
> numToChar(13). I don't use cr because I am uncertain how each OS platform
> treats it. The Server Agent could be running on anything in the future.
>
> If you're already base64encoding the text you might consider a different
> end character than numtochar(13). For instance, numtochar(3) is already
> defined as "End of Text". That should eliminate or at least reduce any
> cross-platform issues you might run into.
>
> https://www.ascii-code.com/
>
> --
> 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