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

Description

bool ircg_is_conn_alive ( resource $connection )

ircg_is_conn_alive() checks the connection status.

Parameters

connection

A connection resource handle returned by ircg_pconnect().

Return Values

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


IRC Gateway
PHP Manual