Subj : MBSE compression transfers To : Andrew Leary From : deon Date : Wed Jul 05 2023 01:29 pm Hey Andrew, I've been playing with implementing GZ/BZ2 compression in clrghouz, which I've been testing with binkd. I've noticed that size value in M_FILE, is the size (of the file) before compression. - M_FIL list.txt 16384 1688519850 -1 BZ2 ie: In this run, list.txt was full of zeros, which compresseses to 46 bytes. - Compressed 16384 bytes to 46 for list.txt, ratio 0.3% However, if list.txt was full of random binary data, the chance of it growing is actually high (and it did most times I tested). - Compressed 16384 bytes to 16867 for list.txt, ratio 102.9% I was wondering how MBSE handles it? Is the size element of M_FILE the size of the file, or the transfer (I assume the former, which is what the spec implies). The problem I'm trying to solve, is that there is no "end of file" marker being sent by the sender, and since compression is being used, I dont know how much data to receive before doing the uncompress. And if the file grows, I dont know how much bigger it will grow. (And the sender actually ends up waiting for the M_GOT.) I've worked around it, but curios how MBSE handles it. ....лоеп --- SBBSecho 3.20-Linux * Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116) .