Skip to main content

check_socket_path

Function check_socket_path 

Source
pub fn check_socket_path(socket: &Path) -> Result<()>
Expand description

Fails when socket is too long to bind or connect to as a Unix socket.

The error names the length and the limit, which the OS does not. Passes on platforms without the limit.