If the method succeeds and the two addresses are identical, the
return value is non-zero. If the method fails or the two addresses
are not identical, the return value is zero. If either parameter is
NULL, or the address family for the two addresses are not the same,
the last error code will be updated. If the addresses are valid and in
the same address family, but are not identical, the last error code
will be set to NO_ERROR.