Module v0_10_0

Source
Expand description

§Added

§Changed

  • Socket::TcpSocket now contains host: Cow<'_, str> and port: u16 instead of an already resolved SocketAddr. Since the socket could be opened on remote host, which might has different dns configuration, it’s better to delay resolution and perform it on remote instead.
  • Socket::new now takes host: Cow<'_, str> and port: u16 for the same reason as above.