NLboolean nlAddrCompare(const NLaddress *address1, const NLaddress *address2)
address1
[in]Specifies the first address.
address2
[in]Specifies the second address.
nlAddrCompare compares two addresses to see if they are the same. For IP, the two addresses are the same if they have the same IP address and port number.
If the two addresses are the same, nlAddrCompare returns NL_TRUE, otherwise it returns NL_FALSE.
NL_NULL_POINTER : One or more of the addresses was passed a NULL pointer.
nlGetAddrFromName,
nlGetAddrFromNameAsync,
nlGetLocalAddr,
nlGetRemoteAddr
Back to the HawkNL index page
Go directly to the main HawkNL page at Hawk Software
© 2000-2002 Phil Frisbie.