node有完整的UDP/TCP的API,但不知道可以解析ICMP么?
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.