Function connect_nodelay
async fn connect_nodelay(addr: impl ToSocketAddrs) -> Result<TcpStream>Expand description
Connects a TCP stream to addr and disables Nagle: MQTT sends small
control packets and flushes each one, so waiting to coalesce them only
adds latency.