问下大家 nodeJS 可以解析ICMP protocol么?
 发布于 13 年前  作者 yangchenyun  6123 次预览  最后一次回复是 13 年前  来自  

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

1 回复
mashihua

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.