Connection Check
Periodically attempt to establish a TCP connection to a remote host.
Arguments
Section titled “Arguments”| Address | A TCP address in the form of (IP Address|Hostname):Port |
| Network Type | Determines which IP version should be used to connect. tcp for either, tcp4 for IPv4, tcp6 for IPv6 |
| Timeout | The number of seconds that Greenlight should try to connect for before deciding that the check has failed |
| Interval | The number of seconds that Greenlight should wait in between connection attempts |
Return Value
Section titled “Return Value”A boolean: true if the connection succeeded, false if not.