Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!rice!rice!sun-spots-request From: dmdev!rohit@uunet.uu.net (Rohit Mehrotra) Newsgroups: comp.sys.sun Subject: How To Find Out If Modem Is Still connected Keywords: Miscellaneous Message-ID: <1990Aug9.022440.7365@rice.edu> Date: 8 Aug 90 19:17:53 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 9 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 296, message 14 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. ie: 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@uunet.UUCP