2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2002-08-19 18:40:17 +00:00
|
|
|
<!-- $Revision: 1.4 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- splitted from ./en/functions/sockets.xml, last change in rev 1.1 -->
|
|
|
|
<refentry id="function.socket-close">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>socket_close</refname>
|
2002-05-01 09:04:04 +00:00
|
|
|
<refpurpose>Closes a socket resource</refpurpose>
|
2002-04-15 00:12:54 +00:00
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
<methodsynopsis>
|
2002-05-01 09:04:04 +00:00
|
|
|
<type>void</type><methodname>socket_close</methodname>
|
2002-04-15 00:12:54 +00:00
|
|
|
<methodparam><type>resource</type><parameter>socket</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
2002-05-01 09:04:04 +00:00
|
|
|
&warn.experimental.func;
|
2002-04-15 00:12:54 +00:00
|
|
|
<para>
|
2002-05-01 09:04:04 +00:00
|
|
|
<function>socket_close</function> closes the socket resource
|
2002-04-15 00:12:54 +00:00
|
|
|
given by <parameter>socket</parameter>.
|
|
|
|
</para>
|
2002-05-01 09:04:04 +00:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
<function>socket_close</function> can't be used on PHP file resources
|
|
|
|
created with <function>fopen</function>, <function>popen</function>,
|
2002-08-19 18:40:17 +00:00
|
|
|
<function>fsockopen</function>, or <function>pfsockopen</function>; it is
|
2002-05-01 09:04:04 +00:00
|
|
|
meant for sockets created with <function>socket_create</function> or
|
|
|
|
<function>socket_accept</function>.
|
|
|
|
</para>
|
|
|
|
</note>
|
2002-04-15 00:12:54 +00:00
|
|
|
<para>
|
|
|
|
See also <function>socket_bind</function>, <function>socket_listen</function>,
|
2002-05-01 09:04:04 +00:00
|
|
|
<function>socket_create</function> and
|
2002-04-15 00:12:54 +00:00
|
|
|
<function>socket_strerror</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
|
|
|
|
-->
|