IPv6 fallback to IPv4

I think the only relevant documentation is tcp-connect: "(If hostname is associated with multiple addresses, they are tried one at a time until a connection succeeds....)".

Racket uses the getaddrinfo library from the OS, and it tries the resulting addresses in order, which might mean trying an IPv6 address before IPv4. Depending on the failure mode, that sequence it might get stuck trying IPv6 so that it never gets around to trying an IPv4 address.

Racket's use of getaddrinfo includes a non-NULL hints, but its hints flags do not include AI_ADDRCONFIG | AI_V4MAPPED, which is apparently the default these days (as opposed to 0). It seems possible that adding those flags would improve things and maybe address the problem, but I welcome advice from anyone who knows more about this.