
MSComm -- serial/modem goes off line
Hi,
This command tells the modem to ORIGINATE a connection. It cannot be issued
when a modem answers. If you wanted to do that, you would issue an ATA
command.
However... If the modem is configured to auto-answer, then if you send ANY
command while the modem is answering, the modem will disconnect. This is
the standard mode of operation. Auto-answer means that no command is
needed to complete the connection.
If you do not configure the modem to auto-answer, then you may issue the ATA
command while the modem is ringing. The modem will then go offhook and
attempt to connect in answer mode.
--
Richard Grier (Microsoft Visual Basic MVP)
See www.hardandsoftware.net for contact information.
Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.