想做一个流量监听的桌面应用
想监听本机ip流过的所有数据报
或者只是获取一个进程的数据包也可以
例如:chrome里面的network
PHP中文网2017-04-17 11:38:14
Native Node does not provide this function, but there is a corresponding module Raw-Socket on NPM
迷茫2017-04-17 11:38:14
Nodejs cannot reach such a low level. You said you want it to capture web page data, which is fine.
You have to implement this through the system API or even lower-level hooks and drivers.