DTR Flow Control

lawson_whitney at juno.com lawson_whitney at juno.com
Sat Mar 2 23:42:39 CST 2002

On Thu, 28 Feb 2002, Michael Cardenas wrote:

> The parts of the source I'm using are not very different from yours.
> I picked up the latest source and tried the app and it still has the same
> behavior. It can talk to the modem enough to get it to connect to the ppp
> server, but it cannot communicate over the network.
> I've attached a trace using my app with the latest source. The application
> seems to be stuck waiting for data and using ClearCommError to check the
> number of bytes received. It calls GetOverlappedResult along with
> GetLastError to check when the pending io operation has completed.
> Maybe there's something wrong with the way overlapped io is implemented when
> it interacts with a serial port. The documentation calls for the user to
> manually set the file pointer when using overlappedio, which doesn't seem
> like it would work on a serial port. The set_file_pointer function in
> server.c doesn't check for serial ports, but I'm not familiar enough with
> serial communications under linux to know if it matters. I tried to disable
> set_file_pointer for serial ports, but this didn't seem to have any effect.
> michael

Oops, I guess that was not the way to do it.  Could you try this

diff -ur was/dlls/kernel/comm.c is/dlls/kernel/comm.c
--- was/dlls/kernel/comm.c	Fri Mar  1 15:19:45 2002
+++ is/dlls/kernel/comm.c	Sun Mar  3 00:37:11 2002
@@ -1248,6 +1248,7 @@
 		case 0:
 			lpdcb->Parity = NOPARITY;
+			lpdcb->fParity = FALSE;
 		case PARENB:
 			lpdcb->Parity = EVENPARITY;

Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:

More information about the wine-devel mailing list