Socket Timestamping Support
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 870
- Forks
- 305
- PR merge metrics
- No merged PRs in 30d
Description
Windows and Linux both provide methods for retrieving the timestamp at which a packet was received by the system, which is pretty handy for anything involving clock synchronization or RTT calculation.
Windows documentation: https://learn.microsoft.com/en-us/windows/win32/winsock/winsock-timestamping
Linux documentation: https://docs.kernel.org/networking/timestamping.html
It would be great if socket2 could implement support for gathering this data from its sockets, especially UDP sockets.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked Windows Winsock timestamping and Linux kernel networking timestamping documentation, then inspect socket2's socket and UDP receive APIs to find the relevant entry points. Define how timestamp data should be exposed across both platforms; done means socket2 can gather packet-receipt timestamps from its sockets, especially UDP sockets, on Windows and Linux.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100