Mithun Bhaskar
Mithun Bhaskar

Reputation: 51

Get the running processes which established a TCP connection in C++

How can I get the running processes which established a TCP connection in C++?

I know about Process::GetProcesses() function.

But how can I short list those processes which established a TCP connection.

Any property in Process class describe this.?

Upvotes: 1

Views: 1454

Answers (1)

GingerJack
GingerJack

Reputation: 3134

If on windows system you need to use IPhelper apis

GetTcpTable2()

Upvotes: 3

Related Questions