nicobn Tue Jul 3 19:58:06 2007 UTC
Modified files: /phpdoc/en/reference/sockets/functions socket-send.xml Log: Documented the parameters of the function. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sockets/functions/socket-send.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/sockets/functions/socket-send.xml diff -u phpdoc/en/reference/sockets/functions/socket-send.xml:1.7 phpdoc/en/reference/sockets/functions/socket-send.xml:1.8 --- phpdoc/en/reference/sockets/functions/socket-send.xml:1.7 Wed Jun 20 22:25:25 2007 +++ phpdoc/en/reference/sockets/functions/socket-send.xml Tue Jul 3 19:58:06 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.socket-send"> <refnamediv> <refname>socket_send</refname> @@ -18,7 +18,7 @@ <para> The function <function>socket_send</function> sends <parameter>len</parameter> bytes to the socket - <parameter>socket</parameter> from <parameter>buf</parameter> + <parameter>socket</parameter> from <parameter>buf</parameter>. </para> </refsect1> @@ -30,6 +30,8 @@ <term><parameter>socket</parameter></term> <listitem> <para> + A valid socket resource created with <function>socket_create</function> + or <function>socket_accept</function>. </para> </listitem> </varlistentry> @@ -37,6 +39,7 @@ <term><parameter>buf</parameter></term> <listitem> <para> + A buffer containing the data that will be sent to the remote host. </para> </listitem> </varlistentry> @@ -44,6 +47,8 @@ <term><parameter>len</parameter></term> <listitem> <para> + The number of bytes that will be sent to the remote host from + <parameter>buf</parameter>. </para> </listitem> </varlistentry> @@ -108,7 +113,6 @@ &reftitle.seealso; <para> <simplelist> - <member><function>socket_sendmsg</function></member> <member><function>socket_sendto</function></member> </simplelist> </para>