Compare two NET_Address objects.
Defined in <SDL3_net/SDL_net.h>
int NET_CompareAddresses(const NET_Address *a, const NET_Address *b);
const NET_Address * | a | first address to compare. |
const NET_Address * | b | second address to compare. |
(int) Returns a value less than zero if a
is "less than" b
, a value greater than zero if "greater than", zero if equal.
This compares two addresses, returning a value that is useful for qsort (or SDL_qsort).
It is safe to call this function from any thread.
This function is available since SDL_net 3.0.0.