RING event on the serial port


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?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!