[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: QSocketNotifier .. only for sockets ?
From:       litsch.iep () t-online ! de (Stephan Litsch)
Date:       2000-04-13 19:25:24
[Download RAW message or body]

Hi,
On Thu, 13 Apr 2000, Simon Derr wrote:
> Hi,
> 	I'm writing an application that needs to use the serial ports
> (at least ttyS0). So I create a QSocketNotifier that is supposed to tell
> me when there are data to read on ttyS0. But... this won't work, the
> activated(int) signal seems to be never emitted by the QSocketNotifier.
> 	And when write myself all the select() stuff, well, it works.
> So I'w mondering if there is something in the QSocketNotifier that
> prevents it from being used with serial devices. has anyone any experience
> about this ?

Have a look at kdenetwork/kppp/modem.cpp. Or drop me a note and I will sent 
you the source of a little terminal application I have written to connect to 
microcontrollers using serial lines. It's using QSocketNotifier and is
working fine :-)

> 	Regards,
> 		Simon.

Stephan

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic