InfoConnect for Airlines
HangUp Method


Hangs up the modem by sending the Hayes "+++" command to get the modem's attention, followed by the "ATH" hangup command.
Syntax
'Declaration
 
Function HangUp() As ReturnCode
'Usage
 
Dim instance As ITerminal
Dim value As ReturnCode
 
value = instance.HangUp()
ReturnCode HangUp()
Remarks
This method does not guarantee that the modem has actually hung up. No error is returned if the method fails for any reason. After the modem is hung up, the port remains open; use the Disconnect method to close the port.

Valid only if InfoConnect is set to use the old modem dialer (UseModemDialerV5 = true).

See Also