JavaScript Editor Javascript debugger     Website design 

ircg_disconnect

Close connection to server (PHP 4 >= 4.0.4, PHP 5 <= 5.0.5)
bool ircg_disconnect ( resource connection, string reason )

ircg_disconnect() will close a connection to a server previously established with ircg_pconnect().

Parameters

connection

A connection resource handle returned by ircg_pconnect().

reason

A message for the disconnection.

Return Values

Returns TRUE on success or FALSE on failure.