IRC Gateway
PHP Manual

ircg_is_conn_alive

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5)

ircg_is_conn_alive — Check connection status

说明

bool ircg_is_conn_alive ( resource $connection )

ircg_is_conn_alive() checks the connection status.

参数

connection

A connection resource handle returned by ircg_pconnect().

返回值

Returns TRUE if connection is still alive and working or FALSE, if the connection has died for some reason.


IRC Gateway
PHP Manual