Hi,
I have a modem that is connected to the serial port of my RedHat Linux machine and I want to listen for RING events on this port. For this, I open the COM port, select the file descriptor and wait for an event to occur. I get the interrupt when I dial my modem, but how can I make sure that select returned because of RING event and not because of some other activity on the serial port?
Thanks,
Ruchika
I have a modem that is connected to the serial port of my RedHat Linux machine and I want to listen for RING events on this port. For this, I open the COM port, select the file descriptor and wait for an event to occur. I get the interrupt when I dial my modem, but how can I make sure that select returned because of RING event and not because of some other activity on the serial port?
Thanks,
Ruchika