Re: Problem using select() with com0com virtual serial ports

2009-01-24 Thread Paul Ingemi
On Sat, 24 Jan 2009 16:26:39 -0500 Christopher Faylor wrote: >On Sat, Jan 24, 2009 at 03:30:34PM -0500, Paul Ingemi wrote: >>* On Fri, 23 Jan 2009 11:17:57 +0100 Spiro Trikaliotis wrote: >>>* On Thu, Jan 22, 2009 at 10:55:22AM -0500 Christopher Faylor wrote: >>>> On T

Re: Problem using select() with com0com virtual serial ports

2009-01-24 Thread Paul Ingemi
* On Thu, Jan 22, 2009 at 10:55:22AM -0500 Christopher Faylor wrote: > On Thu, Jan 22, 2009 at 10:25:32AM -0500, Paul Ingemi wrote: [...] > It is a simple enough hack that I don't mind adding it, if it fixes your > problem but I am not convinced that your driver is operating corre

Problem using select() with com0com virtual serial ports

2009-01-22 Thread Paul Ingemi
I'm using Cygwin with com0com, and I find that every other time I read a character from the virtual serial port, select() continues to believe the serial port is ready, but then read() will block until a character actually comes in. This does not happen with a real serial port. Attached below is a