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 Socket::{send,recv}msg and MsgHdr(Mut) #447

Merged
merged 10 commits into from
Jun 8, 2023

Commits on Jun 2, 2023

  1. Add MsgHdr type

    This wraps msghdr on Unix and WSAMSG on Windows to be used in
    send/recvmsg calls.
    Thomasdezeeuw committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    8881e9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf957df View commit details
    Browse the repository at this point in the history
  3. Add Socket::sendmsg

    Wrapper around sendmsg(2).
    Thomasdezeeuw committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    eb6e833 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ec2566f View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2023

  1. Don't use MsgHdr for recvmsg

    Instead we'll create a separate MsgHdrMut for recvmsg, similar to
    IoSlice and IoSliceMut.
    Thomasdezeeuw committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    c8056d5 View commit details
    Browse the repository at this point in the history
  2. Add MsgHdrMut type

    To be used in recvmsg(2) calls.
    Thomasdezeeuw committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    5c7150e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7f6130 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5ed3b0f View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. Add Socket::recvmsg

    Thomasdezeeuw committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    37a4266 View commit details
    Browse the repository at this point in the history
  2. Support MSRV 1.63

    pointer::cast_mut was stablised in 1.65, so it's too new.
    Thomasdezeeuw committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    bf62b94 View commit details
    Browse the repository at this point in the history