| IsValidIPAddress |
| |
Is a string a valid IP address? |
| |
| Library |
 |
wh::internet/tcpip.whlib |
| |
| Syntax |
 |
PUBLIC BOOLEAN FUNCTION IsValidIPAddress (STRING address) |
| |
| Description |
 |
This function tests whether an IP address is a valid IPV4 IP address, it verifies that the name contains 3 dots, and that all pieces between the dots are numbers in range 0 to 255. This function does not yet recognize IPV6 addresses. |
| |
| Parameters |
 |
| address |
 |
IP address to check |
 |
|
| |
| Returns |
 |
True if the string is a valid IP address |
| |