Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Add support for receiving ancillary data #446

Closed
wants to merge 1 commit into from

Commits on Jun 1, 2023

  1. Add support for receiving ancillary data

    Two new methods are added in order to receive ancillary data along with
    normal data. The methods are `recv_with_ancillary_data` and
    `recv_vectored_with_ancillary_data_and_flags`. The former is easier to
    use, while the latter provides the flexibility.
    
    The implementation includes changes to the `recvmsg` function in the
    `sys/unix.rs` file to handle the ancillary data.
    
    A new test case is also added to test the `recv_with_ancillary_data`
    method.
    
    Signed-off-by: yuguorui <yuguorui@pku.edu.cn>
    yuguorui authored and Sally committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    3c8ff08 View commit details
    Browse the repository at this point in the history