1
0
mirror of https://github.com/php/doc-zh.git synced 2026-03-24 15:12:20 +01:00
Files
archived-doc-zh/reference/sockets/setup.xml

52 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 765b2d6eec7dfbaeed900b32aa91a1360d73df42 Maintainer: Carbyn Wu Status: ready -->
<!-- CREDITS: her-cat, Luffy -->
<chapter xml:id="sockets.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<!-- {{{ 安装 -->
&reference.sockets.configure;
<!-- }}} -->
<!-- {{{ 资源类型 -->
<section xml:id="sockets.resources">
&reftitle.resources;
<para>
在 PHP 8.0.0 之前,
<function>socket_accept</function><function>socket_import_stream</function>
<function>socket_addrinfo_connect</function><function>socket_addrinfo_bind</function>
<function>socket_create_listen</function><function>socket_wsaprotocol_info_import</function>
<function>socket_create</function> 返回的类型是 Socket 资源。
</para>
<para>
在 PHP 8.0.0 之前,
<function>socket_addrinfo_lookup</function> 返回一个 AddressInfo 资源数组。
</para>
</section>
<!-- }}} -->
</chapter>
<!-- 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
-->