CONNECT

Connect to the Uniface Router.

operation CONNECT
params
   string HostID : IN ; (C256)
   string ConNet : IN ; (C3)
   string ConAddr : IN ; (C60)
endparams

Parameters

  • HostId—machine on which the Uniface Router is running; the default is localhost.
  • ConNet—network protocol to connect to the Uniface Router; one of TCP (default) or TLS.
  • ConAddr—address on the host to connect to (for example, the port); the default is 13001. If TLS is used, this can include the TLS connection profile.

For more information, see Network Connection Strings.

Return Values

If successful, $status is set to 0. Otherwise, see Return Codes.

Use

Allowed in all Uniface component types.

Description

The CONNECT operation connects to the Uniface Router.