Skip to main content

connect_uds

Function connect_uds 

Source
pub async fn connect_uds(
    path: impl AsRef<Path>,
    plane: u8,
) -> Result<UdsSession>
Expand description

Connect to a UDS endpoint, select plane, and return a multiplexed session.

Writes the PLANE_RPC/PLANE_MOQ byte on the raw socket, then wraps it in a client-mode yamux session.