1
0
mirror of https://github.com/php/doc-tr.git synced 2026-03-24 23:32:06 +01:00
Files
archived-doc-tr/reference/stream/functions/stream-socket-accept.xml
2021-12-16 11:31:57 +03:00

146 lines
4.3 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: c3067ab0a7f55632c87da73368fd3c739e110a57 Maintainer: nilgun Status: ready -->
<refentry xml:id="function.stream-socket-accept" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>stream_socket_accept</refname>
<refpurpose><function>stream_socket_server</function> ile oluşturulmuş bir
soketten bağlantı kabul eder</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type class="union"><type>resource</type><type>false</type></type><methodname>stream_socket_accept</methodname>
<methodparam><type>resource</type><parameter>soket</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>süre</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter role="reference">hedef</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Evvelden <function>stream_socket_server</function> ile oluşturulmuş bir
soketten bağlantı kabul eder.
</para>
</refsect1>
<refsect1 role="parameters"><!-- {{{ -->
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>soket</parameter></term>
<listitem>
<para>
Bağlantıyı kabul edecek sunucu soketi.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>süre</parameter></term>
<listitem>
<para>
Öntanımlı soket kabul zaman aşımını geçersiz kılar. Zaman saniye
cinsinden belirtilir. Öntanımlı olarak, <link
linkend="ini.default-socket-timeout">default_socket_timeout</link>
kullanılır.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>hedef</parameter></term>
<listitem>
<para>
Seçilen aktarıma dahil edilmişse ve kullanılabilirse bağlanacak
istemcinin ismi (adresi).
</para>
<note>
<para>
<function>stream_socket_get_name</function> kullanarak daha sonra da
saptanabilir.
</para>
</note>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1><!-- }}} -->
<refsect1 role="returnvalues"><!-- {{{ -->
&reftitle.returnvalues;
<para>
Kabul edilen soket bağlantısına bir akım döner,&return.falseforfailure;.
</para>
</refsect1><!-- }}} -->
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.0.0</entry>
<entry>
<parameter>süre</parameter> artık &null; olabiliyor.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 role="notes"><!-- {{{ -->
&reftitle.notes;
<warning>
<para>
Bu işlev UDP sunucu soketleri ile kullanılmamalıdır. Yerine,
<function>stream_socket_recvfrom</function> ve
<function>stream_socket_sendto</function> kullanın.
</para>
</warning>
</refsect1><!-- }}} -->
<refsect1 role="seealso"><!-- {{{ -->
&reftitle.seealso;
<para>
<simplelist>
<member><function>stream_socket_server</function></member>
<member><function>stream_socket_get_name</function></member>
<member><function>stream_set_blocking</function></member>
<member><function>stream_set_timeout</function></member>
<member><function>fgets</function></member>
<member><function>fgetss</function></member>
<member><function>fwrite</function></member>
<member><function>fclose</function></member>
<member><function>feof</function></member>
<member><xref linkend="ref.curl"/></member>
</simplelist>
</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
-->