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.
The text was updated successfully, but these errors were encountered:
The new lookup_host method now returns
SocketAddr
s instead of anIpAddr
s. Unfortunately the returnedSocketAddr
is not very useful because it defaults to port 0. SinceSocketAddr
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.The text was updated successfully, but these errors were encountered: