# Functions

GetPublicIP tries to detect the public IP address of this machine.
GetPublicIPWithRetry calls GetPublicIP and with numRetries attempts waiting delayInSeconds after each attempt.