Compare two SDLNet_Address objects.
Defined in SDL_net.h
a | first address to compare. |
b | second address to compare. |
Returns -1 if a
is "less than" b
, 1 if "greater than", 0 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.