Command preconnect

Learn more about Host integration - Simple HTTP

The command preconnect is used to establish a connection with CloudWalk.

Parameters

  1. variablestatus [integer]
    Return function:
    • 0: Connected successfully
    • -1: Error when trying to connect

Example


In the example above the command preconnect will make a connection with the CloudWalk Walk Server, and the return will be stored in the variable iConnect.

Since the variable iConnect is of the type integervariable, it must be converted into a stringvariable to be displayed on the display.