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

Add support for receiving ancillary data #444

Closed
wants to merge 1 commit into from

Conversation

yuguorui
Copy link

@yuguorui yuguorui commented Jun 1, 2023

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.

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>
@Thomasdezeeuw
Copy link
Collaborator

I assume this is continued in #446 and #445?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants