阅读背景:

在不使用“ping”的情况下从动态语言Ping

来源:互联网 

I'm on a Linux system where I am not allowed to use the 'ping' application (ping: icmp open socket: Operation not permitted). However, the script that I am writing (PHP, but I can use an exec() call to any script/program if needed) needs to determine if a host is 'alive'. How can I go about this without using 'ping'?I'm on a Linux system where I am not allowed to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: