reactos/base/applications/network/netstat
Joachim Henze 5ee97b9537
[NETSTAT] -b flag implies -o flag on Windows XP/2003. CORE-19006 (#5377)
When calling 'netstat -abn'
Win 2k3sp2 and XPSP3 do show both: the processes name and the PID.
Contrary Win 7 and Win 8.1 would show only the process name then without the PID.

The newer Windows versions would require you to explicitly pass -o
if you want to see the PID also.

We do follow 2k3sp2 because it is our target. The process name is not of much use
without having the PID as well, especially if multiple processes with the
same name do run on a system, e.g.: multiple 'svchost.exe' processes.

Ros will automatically switch to the Win7-way when newer
Windows versions will be targeted at build-time.
2023-07-03 22:30:34 +02:00
..
lang [TRANSLATION] Chinese Traditional (zh-TW) translation update (#3954) 2021-10-10 15:00:44 +03:00
CMakeLists.txt [NETSTAT] Convert the netstat utility to Unicode, and localize it. (#1657) 2019-06-20 20:48:07 +02:00
netstat.c [NETSTAT] -b flag implies -o flag on Windows XP/2003. CORE-19006 (#5377) 2023-07-03 22:30:34 +02:00
netstat.h [NETSTAT] Simplify some code; don't use exit(); call WSACleanup() on exit. 2019-06-29 18:10:43 +02:00
netstat.rc [TRANSLATION] Chinese Traditional (zh-TW) translation update (#3954) 2021-10-10 15:00:44 +03:00
resource.h [NETSTAT] Convert the netstat utility to Unicode, and localize it. (#1657) 2019-06-20 20:48:07 +02:00