Skip to main content

probe_pipe_alive

Function probe_pipe_alive 

fn probe_pipe_alive(server: &NamedPipeServer) -> bool
Expand description

Best-effort, non-blocking probe of the named pipe.

Returns true if a single TAG_KEEP_ALIVE byte either wrote successfully or returned WouldBlock (the pipe is still open but the OS buffer is full); false if any other error indicates the pipe is closed.