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


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to