On 06.09.2017 20:35, Bo Berglund wrote:
The problem is that when the Windows app is done sending the data
system is still missing many kilobytes....
So no ACK is returned, it is still in receive mode.

On serial lines bits and bytes always can get lost or be distorted, independent from OS, hardware, ...

Any data transfer software needs to use appropriate means (i.e. appropriately small packets. counting packet number. ACK block containing the packet number it answers to, timeout, retransmit, ...) to handle this.

Moreover, with USB serial adapters I rather often found that the loose the connection to the OS and can't be re-established without a power cycle.

-Michael


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to