⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

socket_connect

Function socket_connect 

Source
pub fn socket_connect(socket_id: u64, path: &str) -> KernelResult<()>
Expand description

Connect a stream socket to a listening socket at the given path.

Returns Ok(()) on success. The connection is immediately established (no three-way handshake for local sockets).