Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.7.0.10 $; site fthood Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!inuxc!pur-ee!uiucdcs!uiucuxc!fthood!egray From: egray@fthood Newsgroups: net.micro.att Subject: dial() on Unix PC Message-ID: <1200004@fthood> Date: Sun, 15-Dec-85 15:51:00 EST Article-I.D.: fthood.1200004 Posted: Sun Dec 15 15:51:00 1985 Date-Received: Wed, 18-Dec-85 02:51:26 EST Lines: 16 Nf-ID: #N:fthood:1200004:000:804 Nf-From: fthood!egray Dec 15 14:51:00 1985 I have run into a brick wall on this one... The Unix PC 7300 has a nifty routine called 'dial' for accessing the builtin modem that returns a valid file descriptor for the open line if the call was sucessful. That works as advertised (even the the documentation is wrong is several places). However, I'm having problems disconnecting the line whenever the call IS NOT sucessful. If phone does not answer, the 'dial' routine returns a '-1' as a file descriptor, but the phone continues to ring! How do you stop the phone from ringing? Emmet P. Gray HQ III Corps & Fort Hood {pur-ee,ihnp4}!uiucuxc!fthood!egray Attn: AFZF-DE-EMO {pur-ee,ihnp4}!uiucuxc!hood Environmental Management Office Fort Hood, TX 76544-5057