Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Nov : Windows reacts too late to XOFF

www.cryer.info
Managed Newsgroup Archive

Windows reacts too late to XOFF

Subject:Windows reacts too late to XOFF
Posted by:"Steve Thomas" (steve.thom..@smiths-aerospace.com)
Date:21 Nov 2005 02:36:37 -0700

I am writing an application to upload a text file to a target system using rs232 at 9600 baud with XON/XOFF flow control.
The target system, over which I have no control, does nothing
with the data until its receive buffer has 32 spaces left, then
sends an XOFF character, processes the data and then sends an XON.
By the time Windows reacts to the XOFF, the target system's
receive buffer has overflowed and data is lost.
I can send the data at 2400 baud and this works, but is too slow
for my client.
Is there a workaround to make Windows react more quickly to the XOFF?

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive