Connect Method

Establishes a connection with a remote host.  Corresponds to the Connect action.

App.Connect([connection][,alreadyConnected][,onFirstRecieve)

Client support

   Newlook Smartclient

   Newlook Server

Use

This method can be used in one of the following three ways:

  1. Connect to an existing connection (i.e. one that has been previously defined with the Connections editor ).
  2. Dynamically create or modify a connection definition, then connect to it, at run time.
  3. Open a tn5250 URL hyperlink.
Limitations of the connect method in the runtime client:

Returns

Returns a Boolean indicating the success or failure of the method.

Applies To

App object

See Also

Connect Action | DBConnect Method | Sessions | OnCustomEvent property