Skip to main content

resolve_socket_path

Function resolve_socket_path 

Source
pub fn resolve_socket_path(bare_name: &str) -> Result<String, String>
Expand description

Resolve the bare pipe/socket name into a full, platform-specific bind path: \\.\pipe\<bare_name> on Windows, or a file under a per-user runtime directory on Unix (macOS additionally hashes the leaf to fit sun_path’s 104-byte limit).