How To Find If Modem Is Still Connected

Rohit Mehrotra rohit at dmdev.UUCP
Thu Aug 9 05:15:46 AEST 1990


How do I find out inside a C program (which dials out on a serial
port) as to whether the modem is still connected to the remote 
machine, or for some reason it has lost connection.

i.e if the carrier detect signal is still on or not. I think that
some ioctl calls would have to be used, but I am not sure which
and how ?

Please EMAIL any helpful responses.

Thanks in advance.

EMAIL: dmdev!rohit at uunet.UUCP

rohit
-- 
Rohit Mehrotra
Fleet Credit Corporation
8325 NW 53rd St, Miami, Fl 33166.
E-MAIL Address uunet!dmdev!rohit VOICE 1-(305)-477-0390 Ext 469



More information about the Comp.unix.wizards mailing list