开发者

How does Windows "netstat -b" determine the name of the process that owns each socket? [closed]

开发者 https://www.devze.com 2022-12-27 19:40 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

开发者_开发知识库 Improve this question

I'm looking for the underlying API calls that netstat -b is using to determine the owning processes for each socket. Any ideas?


You need to look at the IPHelper APIs, in this case specifically GetExtendedTcpTable and GetOwnerModuleFromTcpEntry

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号