简体   繁体   English

在Windows中获取TCP套接字统计信息

[英]Getting TCP Socket statistics in Windows

Is there a way to get a specific socket statistics in windows? 有没有办法在Windows中获取特定的套接字统计信息? I'm most interested in the number of retransmissions a specific socket had, and doing it without using winpcap or similar solutions. 我最感兴趣的是特定套接字的重传次数,并且不使用winpcap或类似的解决方案。

Windows should store such an interesting number somewhere, no? Windows应该在某个地方存储这么有趣的数字,不是吗?

全局信息也可通过性能监视器获得。

I cant see of any way to get this information per TCP connection (or socket). 我无法看到每个TCP连接(或套接字)获取此信息的任何方法。 However you can get global statistics . 但是,您可以获得全局统计信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM