⚠️ VeridianOS Kernel Documentation
- This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise.
no_std
getsockname
veridian_
kernel
0.25.2
In veridian_
kernel::
net::
socket
veridian_kernel
::
net
::
socket
Function
getsockname
Copy item path
Source
pub fn getsockname(id: usize) -> Result<
SocketAddr
,
KernelError
>
Expand description
Get the local address of a socket.