InfoConnect for Airlines VBA Guide
Connect Function (AlcTerminal)
Connects to the host.
Syntax

Return Value

One of the ReturnCode enum values
Remarks
This method returns an error if the connection cannot be made successfully or is ignored if a connection already exists. Use the IsConnected property to determine if a connection already exists. Use HostCommTimeout to specify how many seconds InfoConnect should wait for a host response.
See Also