karashiiro / karashiiro/PingPlugin

Ping is higher than Resource Monitor values

Open
#41 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
C#
Stars
17
Forks
26
PR merge metrics
No merged PRs in 30d

Description

See title. Resource Monitor values, however, are not possible to get directly without administrator privileges. I can attempt to use GetHopCountAndRTT again, but I don't know if this will actually give different results. It also requires getting into complicated error conditions on Wine etc., because it may give an output of 0 without producing an actual error. I prefer keeping things simple so that I don't need to do acrobatics just to make ping work everywhere.

Documentation:
https://docs.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getrttandhopcount
https://source.winehq.org/WineAPI/GetRTTAndHopCount.html

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the GetRTTAndHopCount documentation and the linked Wine API page, then inspect the current ping implementation to identify how its value is obtained. Determine whether a non-administrator approach can match Resource Monitor values across Windows and Wine, and document or implement a clear result without treating a zero output as a successful measurement.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.