mfischer Tue Apr 30 18:47:39 2002 EDT
Modified files:
/phpdoc/en/reference/sockets reference.xml
Log:
- Some <literal>s actually were <constant>s
Index: phpdoc/en/reference/sockets/reference.xml
diff -u phpdoc/en/reference/sockets/reference.xml:1.3
phpdoc/en/reference/sockets/reference.xml:1.4
--- phpdoc/en/reference/sockets/reference.xml:1.3 Tue Apr 30 17:27:50 2002
+++ phpdoc/en/reference/sockets/reference.xml Tue Apr 30 18:47:36 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<reference id="ref.sockets">
<title>Socket functions</title>
<titleabbrev>Sockets</titleabbrev>
@@ -33,10 +33,10 @@
powerful BSD sockets. Care has been taken that the functions work equaly
well on Win32 and Unix implementations. Almost all of the sockets
functions may fail under certain conditions and therefore emit an
- <literal>E_WARNING</literal> message describing the error. Sometimes this
+ <constant>E_WARNING</constant> message describing the error. Sometimes this
doesn't happen to the desire of the developer. For example the function
<function>socket_read</function> may suddenly emit an
- <literal>E_WARNING</literal> message because the connection broke
+ <constant>E_WARNING</constant> message because the connection broke
unexpectedly. It's common to suppress the warning with the
<literal>@</literal>-operator and catch the error code within the
application with the <function>socket_last_error</function> function. You
@@ -46,9 +46,9 @@
</para>
<note>
<para>
- The <literal>E_WARNING</literal> messages generated by the socket
+ The <constant>E_WARNING</constant> messages generated by the socket
extension are in english though the retrieved error message will appear
- depending on the current locale (<literal>LC_MESSAGES</literal>):
+ depending on the current locale (<constant>LC_MESSAGES</constant>):
<programlisting role="php">
<![CDATA[
Warning - socket_bind() unable to bind address [98]: Die Adresse wird bereits
verwendet