DiscoveryTCPConnection - isValidConnection()

Determines if there is a valid connection with the from host and port.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Boolean True if the connection is valid; otherwise, false.

var dtcpc = new DiscoveryTCPConnection();
gs.print(dtcpc.isValid());

Output: false