JavaScript Editor Javascript debugger     Website design 


ircg_is_conn_alive

Check connection status (PHP 4 >= 4.0.5, PHP 5 <= 5.0.5)
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.