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.
connectionA connection resource handle returned by ircg_pconnect().
hostThis must be an IPv4 address as IRCG does not resolve host-names due to blocking issues.
portThe port number.
dataThe data to be sent before closing the connection.