php-doc-en/reference/stream/functions/stream-socket-get-name.xml
Jakub Vrana 5bff99a4e0 Fullstops, WS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@161483 c90b9560-bf6c-de11-be94-00142212c4b1
2004-06-16 13:01:22 +00:00

47 lines
1.4 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<refentry id="function.stream-socket-get-name">
<refnamediv>
<refname>stream_socket_get_name</refname>
<refpurpose>Retrieve the name of the local or remote sockets</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>stream_socket_get_name</methodname>
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
<methodparam><type>bool</type><parameter>want_peer</parameter></methodparam>
</methodsynopsis>
<para>
Returns the local or remote name of a given socket connection.
If <parameter>want_peer</parameter> is set to &true; the remote
socket name will be returned, if it is set to &false; the local
socket name will be returned.
</para>
<para>
See also
<function>stream_socket_accept</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->