Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!uwm.edu!uwvax!brownie.cs.wisc.edu!so From: so@brownie.cs.wisc.edu (Bryan S. So) Newsgroups: comp.os.msdos.programmer Subject: How to hang up modem line? Message-ID: <11744@spool.cs.wisc.edu> Date: 17 Nov 90 19:59:57 GMT Sender: news@spool.cs.wisc.edu Organization: U of Wisconsin CS Dept Lines: 15 Other than sending +++ATZ to the modem, is there a more efficient way to hang up the phone line? I have tried to outportb(mcr, 0); /* Modem control register */ outportb(lcr, 0); /* Line control register */ outportb(ier, 0); /* Interrupt enable register */ in Turbo C. It hangs up the phone line on many modems, but not on several. Is there a better way to do it? Bryan So