Question Details

No question body available.

Tags

c++ network-programming unix

Answers (1)

May 19, 2026 Score: 4 Rep: 41 Quality: Low Completeness: 40%

Ok, got a solution. I can simply call getaddrinfo() with addr.cstr() (without DNS call) and it returns list of struct addrinfo, address family stored in aifamily field.