kihlh / hmc-win32

HMC Easier Access to System APIs 简化连接winapi的过程的node c++模块

Home Page:https://kihlh.gitbook.io/hmc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get pid by tcp port.

xianyunleo opened this issue · comments

hasPortTCP ,希望修改或者新增方法,想要获取pid

commented

已将 通过 TCP,UDP 端口获取进程id放入计划

commented

在1.3.7版本中已经支持
`
hmc.getTCPPortProcessID(1053)
tcp -> 6688

hmc.getUDPPortProcessID(1053)
udp -> 17772

`

commented

枚举所有进程中不支持获取关系结构,在重新构建的版本中会添加进程枚举结构化,但是这个会很久因为重构版本将整个大动脉都重构了

如果您需要获取指定进程的父进程id请使用: hmc.getProcessParentProcessID