Hello Lazarus-List, Monday, February 14, 2011, 8:32:37 PM, you wrote:
BB> While the transfer runs my program sits and waits for an ACK coming BB> back from the other end after it has checked the checksum. That is a BB> loop with Application.Processmessages, Sleep and a timeout... BB> In a blocking design this wait loop would of course not have been BB> needed becaus ethe Write would not return until all data have been BB> written to the output. So you can send in small chuncks (64 bytes) and give feedback every 250ms. Or use a "send" thread. -- Best regards, José -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus