Thanks all
Bob Sneidar
bobsneidar at iotecdigital.com
Mon Mar 3 14:14:31 EST 2025
Hi all.
Thanks for the help with the socket based file transfer system I am developing. Using Mark’s technique of prepending the data length of the payload as an 8 byte value before sending, and then reading the first 8 bytes of the payload to determine the length and then reading for that many bytes has worked famously.
My assumption that the "read from socket until eof” form would keep iterating until an eof was encountered, or else the socket timeout had been reached was obviously in error.
As far as the encrypt and decrypt goes, encrypted data still has to be base64Encoded (or some other method to make it internet safe) before sending it.
Bob S
More information about the use-livecode
mailing list