in reply to Is AF_UNIX available?

Suggestion (no idea whether this will work): try to create an AF_UNIX socket. If it fails, check whether the error is EAFNOSUPPORT. Which ought to be the error if the address family isn't supported.