I've been scratching my head why my code no werk after gutting out winsock crud and replacing with SDL3_net.
I eventually figure to print out SDL_GetError: The requested name is valid but no data of the requested type was found.
I'm puzzled, but then I print out the address and port.
It turns out the address had a newline character at the end, from my very lazy ini parser, and that winsock was lenient with this whitespace.
You should either warn about this, or remove whitespace, as passed to NET_ResolveHostname.
Derp.