English 中文(简体)
如何在 Windows 上找到它为连接计算了什么 sshresh 和 cwnd
原标题:How to find out on Windows what ssthresh and cwnd it has computed for the connection
  • 时间:2012-05-21 23:54:45
  •  标签:
  • windows
  • tcp

我想弄清楚Ssthresh和Cwnd Windows为连接计算了什么。

比如说Linux,我可以做

ip route show cache

查看计算值。

最佳回答

您可以在 Windows 中这样做, 但您必须自己编程 。 请查看 : < a href=" http:// msdn. microsoft.com/ en- us/library/ windows/ desktop/bb4857.38% 28v=vs. 85%29. aspx" rel= “ nofollow” > http://msdn. microsoft. com/ en- us/library/ windows/deskoptop/b4857.38% 28v=vs. 85%29. aspx

GetPerTcpConnectionEStats 函数( 自 Vista 后可用) 可以为您获取各种信息, 如 cwnd、 sshresh、 dupacks、 tts、 shacks 以及更多有关 TCPv4 连接的信息 。 使用 GetPerTcp6ConnectionStats 来为 TCPv6 使用 GetPerTcp6ConnectiveStats 。

Edit :SDK有一个工具可以向您展示这些信息。这里是 c: program file Microsoft SDKsWindowsv77.1Bin cpanalyzer.exe。我认为它是微软SDK平台(http://www.microsoft.com/en-us/dowload/details.aspx?id=8279

问题回答

暂无回答




相关问题
Why running a service as Local System is bad on windows?

I am trying to find out the difference between difference service account types. I tumbled upon this question. The answer was because it has powerful access to local resources, and Network Service ...

Programmatically detect Windows cluster configuration?

Does anyone know how to programatically detect that a Windows server is part of a cluster? Further, is it possible to detect that the server is the active or passive node? [Edit] And detect it from ...

get file icon for Outlook appointment (.msg)

I ve read Get File Icon used by Shell and the other similar posts - and already use SHFileInfo to get the associated icon for any given extension, and that works great. However, Outlook uses ".msg" ...

Identifying idle state on a windows machine

I know about the GetLastInputInfo method but that would only give me the duration since last user input - keyboard or mouse. If a user input was last received 10 minutes ago, that wouldn t mean the ...

Terminating a thread gracefully not using TerminateThread()

My application creates a thread and that runs in the background all the time. I can only terminate the thread manually, not from within the thread callback function. At the moment I am using ...

热门标签