You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DNS resolver returns SocketAddr with port even though port would only be meaningful if service is specified for underlying getaddrinfo. However that is not possible as DNS resolver only takes Name as input.
I think this should be fixed by changing return value to IpAddr instead of SocketAddr.
Alternatively DNS resolver could be changed to take service as input in addition to Name