Net_Ping::setArgs()
Параметр
array $args - an array of the arguments to set
Таблица 50-1. possible array keys
Key name Description NOT supported on "count" Number of ping packages to send "quiet" Level of output verbosity Windows "iface" FreeBSD, Linux, Windows "ttl" "timeout" Time to wait for a ACK of a ping package "size" Size of a ping package FreeBSD, Darwin, Linux, Windows
Throws
Таблица 50-2. Возможные значения PEAR_Error
Error code | Error message | Reason | Solution |
---|---|---|---|
NULL | PING_INVALID_ARGUMENTS | A not supported argument was given | Check typing of argument (key name) and OS-support of the argument. |
Пред. | Начало | След. |
Net_Ping::ping() | Уровень выше | Net_Portscan |