Ping

This command returns a True / False regarding the ability to reach the server. Based on the result you may choose to continue with the Server.Connect or go to a disconnected state. Default values are stored in the registry when the files are installed.

Group: Server Extensions


Syntax: bOK = Server.Ping([vServer])

bOK     (Boolean) returns a True if the mobile device could connect to the server.

vServer (Variant) Optional – to specify the name or IP address of the server. If this is not specified, the registry settings will be used.

Example:

Dim bOK as Boolean

bOK = Server.Ping("192.168.123.45")

Supported Versions:       RFgen 4.0 and newer.