|
PHP5中文手册
ircg_set_on_die(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5) ircg_set_on_die — Set action to be executed when connection dies 说明
bool ircg_set_on_die
( resource $connection
, string $host
, int $port
, string $data
)
In case of the termination of the connection , IRCG will connect to the specified host , send data to the new host connection and will wait until the remote part closes connection. This can be used to trigger a PHP script for example. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 注释
|