documentation for function ircg_set_on_die

/en/functions/ircg.xml is complete now (until sascha has new ideas :-)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@66583 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Georg Richter 2001-12-31 14:51:54 +00:00
parent 272e969b7b
commit b047244ab7

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.19 $ -->
<!-- $Revision: 1.20 $ -->
<reference id="ref.ircg">
<title>IRC Gateway Functions</title>
<titleabbrev>IRC Gateway</titleabbrev>
@ -639,7 +639,7 @@ if (!ircg_join ($id, "#php")) {
<refnamediv>
<refname>ircg_set_on_die</refname>
<refpurpose>
Set hostaction to be execute when connection dies */
Set hostaction to be execute when connection dies
</refpurpose>
</refnamediv>
<refsect1>
@ -654,7 +654,13 @@ if (!ircg_join ($id, "#php")) {
</funcprototype>
</funcsynopsis>
<para>
&warn.undocumented.func;
In case of the termination of connection <parameter>connection</parameter>
IRCG will connect to <parameter>host</parameter> at
<parameter>port</parameter> (Note: host must be an IPv4 address,
IRCG does not resolve host-names due to blocking issues), send
<parameter>data</parameter> 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.
</para>
</refsect1>
</refentry>