Socket Timestamping Support

未關閉
#415 3 則留言 5 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@tglane 已經在處理了。

開始於 2024年4月15日。

  • #504 來自 @tglane —— 未關閉

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
冷清
技術堆疊
rust
領域
networking

研究方向

先閱讀連結的 Windows Winsock 時間戳與 Linux 核心網路時間戳文件,然後檢查 socket2 的 socket 與 UDP 接收 API,以找出相關的進入點。定義時間戳資料應如何在兩個平台上提供;完成標準是 socket2 能夠在 Windows 和 Linux 上從其 socket(尤其是 UDP socket)收集封包接收時間戳。

由索引模型根據 Issue 內容生成。

描述

enhancement

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.

主要語言
Rust
星號
885
分支
328
平均合併
6 天 12 小時
30 天內合併 PR
2

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

rust-lang/socket2 的其他 Issue

查看 rust-lang/socket2 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。