CNode

问下大家 nodeJS 可以解析ICMP protocol么?

Yyangchenyun发布于14 年前最后回复14 年前1 回复6226 浏览0 收藏

node有完整的UDP/TCP的API,但不知道可以解析ICMP么?

查看回复

回复 (1)

M
mashihua#1·14 年前

You can't really implement ICMP packets in JavaScript as JavaScript doesn't have built-in raw socket support.Use a C / C++ binding bridge to execute raw socket code within the node.

参与回复
登录后即可参与回复。登录