Hi,
I want to show process name or process id by port number.Port number is known but what process (id or name) is keeping it busy.
Hi,
I want to show process name or process id by port number.Port number is known but what process (id or name) is keeping it busy.
There is no standard (as in ISO 14882) way to do it in C++. It is a operating system related question. So: what operating system do you use? In Linux&BSD a system("netstat") will be the quick&dirty solution. For MacOS, BeOS, NeXT, Dos, Windows et cetera I have no clue.