mfischer Wed May 1 12:03:36 2002 EDT
Modified files:
/phpdoc/en/reference/sockets/functions socket-getpeername.xml
Log:
- Stupid me, it's the remote side of course.
Index: phpdoc/en/reference/sockets/functions/socket-getpeername.xml
diff -u phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.3
phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.4
--- phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.3 Wed May 1
11:52:41 2002
+++ phpdoc/en/reference/sockets/functions/socket-getpeername.xml Wed May 1
+12:03:35 2002
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/sockets.xml, last change in rev 1.27 -->
<refentry id="function.socket-getpeername">
<refnamediv>
<refname>socket_getpeername</refname>
<refpurpose>
- Queries the local side of the given socket which may either result in host/port
+ Queries the remote side of the given socket which may either result in host/port
or in a UNIX filesystem path, dependent on its type.
</refpurpose>
</refnamediv>
@@ -20,7 +20,7 @@
&warn.experimental.func;
<para>
If the given socket is of type <constant>AF_INET</constant>,
- <function>socket_getpeername</function> will return the peers
+ <function>socket_getpeername</function> will return the peers (remote)
<emphasis>IP address</emphasis> in dotted-quad notation (e.g.
<literal>127.0.0.1</literal>) in the <parameter>address</parameter>
parameter and, if the optional <parameter>port</parameter> parameter is