node.js - 如何用nodejs监听ip里面的数据包
PHP中文网
PHP中文网 2017-04-17 11:36:14
0
2
741


想做一个流量监听的桌面应用
想监听本机ip流过的所有数据报
或者只是获取一个进程的数据包也可以
例如:chrome里面的network

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
洪涛

Native Node does not provide this function, but there is a corresponding module Raw-Socket on NPM

迷茫

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template