想做一个流量监听的桌面应用 想监听本机ip流过的所有数据报 或者只是获取一个进程的数据包也可以 例如:chrome里面的network
认证高级PHP讲师
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.
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.