jimw            Wed Jan  2 06:45:00 2002 EDT

  Modified files:              
    /phpdoc/en/functions        sockets.xml 
  Log:
  socket_read: fix prototype, documentation
  
Index: phpdoc/en/functions/sockets.xml
diff -u phpdoc/en/functions/sockets.xml:1.27 phpdoc/en/functions/sockets.xml:1.28
--- phpdoc/en/functions/sockets.xml:1.27        Mon Dec 17 05:30:32 2001
+++ phpdoc/en/functions/sockets.xml     Wed Jan  2 06:45:00 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.27 $ -->
+<!-- $Revision: 1.28 $ -->
  <reference id="ref.sockets">
   <title>Socket functions</title>
   <titleabbrev>Sockets</titleabbrev>
@@ -419,7 +419,6 @@
      <funcprototype>
       <funcdef>int <function>socket_read</function></funcdef>
       <paramdef>resource <parameter>socket_des</parameter></paramdef>
-      <paramdef>string <parameter>buffer</parameter></paramdef>
       <paramdef>int <parameter>length</parameter></paramdef>
       <paramdef>int <parameter><optional>type</optional></parameter></paramdef>
      </funcprototype>
@@ -427,11 +426,10 @@
        &warn.experimental.func;
     <para>
      The function <function>socket_read</function> reads from socket 
-     <parameter>socket_des</parameter>created by the
-     <function>socket_accept</function> function into
-     <parameter>buffer</parameter> the number of bytes set by
+     <parameter>socket_des</parameter> created by the
+     <function>socket_accept</function> function the number of bytes set by
      <parameter>length</parameter>. Otherwise you can use \n, \t or \0 to
-      end reading. Returns number of bytes that have been read.
+      end reading. Returns the bytes that were read.
     </para>
     <para>
      Optional <parameter>type</parameter> parameter is a named constant:


Reply via email to