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
The new lookup_host method now returns SocketAddrs instead of an IpAddrs. Unfortunately the returned SocketAddr is not very useful because it defaults to port 0. Since SocketAddr does not have any setters for the port I basically have to re-create every single returned value to make use of it.
lookup_host should either take a port as an argument or only return IP addresses. I would prefer the latter.
Activity
alexcrichton commentedon Mar 25, 2015
I agree that stabilizing it may have been a little hasty. I've proposed destabilizing it as part of #23711
steveklabnik commentedon Mar 26, 2015
Since it was destabilized, I'm going to give this a close.