pub fn sys_socket_recv_handle_and_data(trapframe: &mut Trapframe) -> usizeExpand description
sys_socket_recv_handle_and_data - Receive a kernel object handle and data atomically
Receives both a kernel object handle and data in a single atomic operation. This is the counterpart to send_handle_and_data.
Arguments:
- socket_handle: Handle to the connected socket
- handle_ptr: Pointer to store the received handle (output)
- data_ptr: Pointer to store the received data (output)
- max_data_len: Maximum amount of data to receive
Returns:
- Number of bytes received on success
- usize::MAX on error