prg_ip_address_equal()
Abstract
Returns whether two IP addresses are (effectively) equal.
Syntax
prg_ip_address_equal (first_ip_address, second_ip_address)
| Argument | Type | Description |
|---|---|---|
first_ip_address |
PrgT_IP_Address |
the IP address to compare |
second_ip_address |
PrgT_IP_Address |
the IP address to compare against |
Return Type
int
Indicates whether or not the two IP addresses are essentially equal.
Header
prg_ip_address.h
Details
Returns whether two IP addresses are (effectively) equal. Two addresses are equal if they have the same integral address value. Subnet mask and address type are only considered if both address values are zero.