<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.sockets.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'function.socket-export-stream.php',
    1 => 'socket_export_stream',
    2 => 'Экспортирует сокет в поток, который инкапсулирует сокет',
  ),
  'up' => 
  array (
    0 => 'ref.sockets.php',
    1 => 'Функции модуля Socket',
  ),
  'prev' => 
  array (
    0 => 'function.socket-create-pair.php',
    1 => 'socket_create_pair',
  ),
  'next' => 
  array (
    0 => 'function.socket-get-option.php',
    1 => 'socket_get_option',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/sockets/functions/socket-export-stream.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.socket-export-stream" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">socket_export_stream</h1>
  <p class="verinfo">(PHP 7 &gt;= 7.0.7, PHP 8)</p><p class="refpurpose"><span class="refname">socket_export_stream</span> &mdash; <span class="dc-title">Экспортирует сокет в поток, который инкапсулирует сокет</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.socket-export-stream-description">
  <h3 class="title">Описание</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>socket_export_stream</strong></span>(<span class="methodparam"><span class="type"><a href="class.socket.php" class="type Socket">Socket</a></span> <code class="parameter">$socket</code></span>): <span class="type"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">

  </p>

  <div class="warning"><strong class="warning">Внимание</strong><p class="simpara">Функцию пока не задокументировали;
для знакомства доступен только список аргументов.</p></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.socket-export-stream-parameters">
  <h3 class="title">Список параметров</h3>
  <dl>
   
    <dt><code class="parameter">socket</code></dt>
    <dd>
     <p class="para">

     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.socket-export-stream-returnvalues">
  <h3 class="title">Возвращаемые значения</h3>
  <p class="para">
   Функкция возвращает ресурс или <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>, если возникла ошибка.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.socket-export-stream-changelog">
  <h3 class="title">Список изменений</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Версия</th>
      <th>Описание</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
  <td>8.0.0</td>
  <td>
   Параметр <code class="parameter">socket</code> теперь принимает объект <span class="classname"><a href="class.socket.php" class="classname">Socket</a></span>;
   раньше принимался тип <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span>.
  </td>
 </tr>

    </tbody>
   
  </table>

 </div>


</div><?php manual_footer($setup); ?>