Is The Modem Still Connected
Rohit Mehrotra
rohit at dmdev.UUCP
Thu Sep 6 02:53:30 AEST 1990
Hi ,
I have a Unix question on platforms other than SunOS4.1.
I have the solution for SunOS4.1. I had posted this question
earlier in different newsgroups, however no body seems to know
the answer. I do know it now for SunOS4.1.
Q)
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
call would have to be used, but I am not sure which and how?
If you do happen to know or if someone you know happens to know
I would appreciate your help.
I Have The Solution For SunOS4.1. Solutions On Any Other Variants
Of Unix Are Welcome.
Please EMAIL the responses directly, and I would post a summary.
Thanks
Rohit
EMAIL: dmdev!rohit at uunet.uucp
--
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.programmer
mailing list