Add support for recvmmsg

Open
#574 0 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@boris-n is already working on this.

Since May 24, 2025.

  • #583 by @boris-n — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
networking

Research direction

Start by locating the crate's existing recvmsg support and compare it with the recvmmsg syscall API. Check the platform requirements and intended multi-message behavior before identifying the appropriate API and test locations. Done means socket2 supports receiving multiple messages through recvmmsg with coverage for the new behavior.

Written by the indexing model from the issue text.

Description

Current socket2 crate only supports recvmsg, it would be great if multiple messages were able to send through with a single syscall.

Dominant language
Rust
Stars
885
Forks
328
Avg merge
6d 12h
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-lang/socket2

All issues in rust-lang/socket2

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.