Sockets (again)
Mark Wieder
ahsoftware at sonic.net
Wed Apr 5 13:29:57 EDT 2023
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
More information about the use-livecode
mailing list