Package: Network Tools

Author: HCA Central
Version: 2
Added to Library: 03-Nov-23
HCAVersion needed: 17.0.56
Keywords: Utility

Package Description:
What's new?

1. Added the CompareIP program

Program: CompareIP

Program Description:
Compares to IP addresses for equality. Does it section by section in case one of the 4 parts of the address has "0" and the other "00" for example.

Return value: yes, if the two are the same, no otherwise.

Parameters:

Name Type Description Default
IPA Value IP A  
IPB Value IP B  

Program: Get External IP Address

Program Description:
Gets the external IP address of the network and returns it as a string in the usual 4-part form. If it can't get the IP address returns the string "error"

Program: Log External Address Change

Program Description:
Adds to a log file in the HCA documents folder named ExternalIPAddress.log that contains the site external IP address. Only saves a new log entry if it is different than last run. Program is set to restart every 6 hours.

Global Variable Use:

Name Description
LastIPAddress External IP address of the site