DTR Flow Control
michaelc at lindows.com
Thu Feb 28 08:42:28 CST 2002
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.
----- Original Message -----
From: "Mike McCormack" <mike_mccormack at start.com.au>
To: <lawson_whitney at juno.com>; <michaelc at lindows.com>
Cc: <wine-devel at winehq.com>
Sent: Monday, February 25, 2002 6:37 PM
Subject: Re: DTR Flow Control
> How about showing us the source you are using, so we can help you
> debug it?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2638 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20020228/5f0903d2/winehqtrace.bin
More information about the wine-devel