Skip to main content

probe_peer

Function probe_peer 

Source
pub async fn probe_peer() -> Result<(), CliError>
Expand description

Connect-and-probe: send a Status request with a short read timeout. Returns Ok if a peer answered, Err otherwise. Used to differentiate “stale socket file” from “daemon already running”.