Skip to main content

probe_mqtt

Function probe_mqtt 

pub(crate) fn probe_mqtt(addr: &SocketAddr) -> bool
Expand description

Probes the broker by performing a minimal MQTT v5 CONNECT/CONNACK exchange.

Returns true if the broker responds with at least one byte (the start of a CONNACK). The MQTT handler is then fully up and accepting connections.