nlopess         Thu Dec 11 09:21:06 2003 EDT

  Modified files:              
    /phpdoc/en/reference/sockets        reference.xml 
  Log:
  corrected example
  
Index: phpdoc/en/reference/sockets/reference.xml
diff -u phpdoc/en/reference/sockets/reference.xml:1.12 
phpdoc/en/reference/sockets/reference.xml:1.13
--- phpdoc/en/reference/sockets/reference.xml:1.12      Wed Dec 10 10:28:18 2003
+++ phpdoc/en/reference/sockets/reference.xml   Thu Dec 11 09:21:06 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
  <reference id="ref.sockets">
   <title>Socket functions</title>
   <titleabbrev>Sockets</titleabbrev>
@@ -206,7 +206,8 @@
 }
 
 $in = "HEAD / HTTP/1.1\r\n";
-$in .= "Host: www.example.com\r\n\r\n";
+$in .= "Host: www.example.com\r\n";
+$in .= "Connection: Close\r\n\r\n";
 $out = '';
 
 echo "Sending HTTP HEAD request...";


Reply via email to