1
0
mirror of https://github.com/php/doc-it.git synced 2026-04-27 01:08:21 +02:00
Files
Richard Quadling 186dc3a384 sgml-default-dtd-file:"~/.phpdoc/manual.ced"
git-svn-id: https://svn.php.net/repository/phpdoc/it/trunk@313948 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-29 17:07:14 +00:00

72 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- EN-Revision: n/a Maintainer: darvina Status: ready -->
<refentry xml:id="function.socket-shutdown" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>socket_shutdown</refname>
<refpurpose>Chiude un socket in ricezione, in invio o in entrambi i sensi</refpurpose>
</refnamediv>
<refsect1>
<title>Descrizione</title>
<methodsynopsis>
<type>bool</type><methodname>socket_shutdown</methodname>
<methodparam><type>resource</type><parameter>socket</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>how</parameter></methodparam>
</methodsynopsis>
&warn.experimental.func;
<para>
La funzione <function>socket_shutdown</function> permette di chiudere i trasferimenti
in ingresso, in uscita o in entrambe le direzione per il
<parameter>socket</parameter>
</para>
<para>
I valori previsti per <parameter>how</parameter> sono i seguenti:
<table>
<title>possible values for <parameter>how</parameter></title>
<tgroup cols="2">
<tbody>
<row>
<entry><literal>0</literal></entry>
<entry>
Chiude il socket in lettura.
</entry>
</row>
<row>
<entry><literal>1</literal></entry>
<entry>
Chiude il socket in scrittura.
</entry>
</row>
<row>
<entry><literal>2</literal></entry>
<entry>
Chiude il socket in lettura e scrittura.
</entry>
</row>
</tbody>
</tgroup>
</table>
</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:"~/.phpdoc/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
-->