> I would do it by writing to temporary files. The reason is because > when you start writing to an offset in a new file, the write call > will block for a long time while Windows zeroes/randomizes the > earlier bytes so that you cant read someone elses file that was > previously in the same place on the disk.
With NT and better (who really cares about Win9x any more), you can use sparse files, where the OS creates a file (potentially larger than the disk) but only allocates sectors as you write them. Once the file is complete, it would be copied to a normal file. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be