Description: VC to achieve a similar Windows Netstat command to check open ports of the source, not a complete program. NPort.cpp: display port and the corresponding file name, which is equivalent Netstat-noa command for XP and higher versions of the definition of the function prototype iphlpapi.dll used in generating IP address string.. The following is the structure associated with the TCP:
typedef struct tagMIB_TCPEXROW {
DWORD dwState // connection status.
DWORD dwLocalAddr // local computer address.
DWORD dwLocalPort // local computer port.
DWORD dwRemoteAddr // remote computer address.
DWORD dwRemotePort // remote computer port.
DWORD dwProcessId
} MIB_TCPEXROW,* PMIB_TCPEXROW
To Search:
File list (Check if you may need any files):
NPort\NPort.cpp
.....\NPort.dsp
.....\NPort.dsw
.....\NPort.ncb
.....\NPort.opt
.....\NPort.plg
NPort