<?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 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.socket-wsaprotocol-info-import.php',
    1 => 'socket_wsaprotocol_info_import',
    2 => 'Importe un socket d\'un autre processus',
  ),
  'up' => 
  array (
    0 => 'ref.sockets.php',
    1 => 'Fonctions sur les sockets',
  ),
  'prev' => 
  array (
    0 => 'function.socket-wsaprotocol-info-export.php',
    1 => 'socket_wsaprotocol_info_export',
  ),
  'next' => 
  array (
    0 => 'function.socket-wsaprotocol-info-release.php',
    1 => 'socket_wsaprotocol_info_release',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/sockets/functions/socket-wsaprotocol-info-import.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.socket-wsaprotocol-info-import" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">socket_wsaprotocol_info_import</h1>
  <p class="verinfo">(PHP 7 &gt;= 7.3.0, PHP 8)</p><p class="refpurpose"><span class="refname">socket_wsaprotocol_info_import</span> &mdash; <span class="dc-title">Importe un socket d&#039;un autre processus</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.socket-wsaprotocol-info-import-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>socket_wsaprotocol_info_import</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$info_id</code></span>): <span class="type"><span class="type"><a href="class.socket.php" class="type Socket">Socket</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Importe un socket qui a été exporté précédemment par un autre processus.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <span class="simpara">
    Cette fonction n&#039;est disponible que sous Windows.
     </span>
  </p></blockquote>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.socket-wsaprotocol-info-import-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <dl>
   
    <dt><code class="parameter">info_id</code></dt>
    <dd>
     <p class="para">
      L&#039;identifiant qui a été renvoyé par un appel précédent à
      <span class="function"><a href="function.socket-wsaprotocol-info-export.php" class="function">socket_wsaprotocol_info_export()</a></span>.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.socket-wsaprotocol-info-import-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Renvoie une instance de <span class="classname"><a href="class.socket.php" class="classname">Socket</a></span> en cas de succès,  ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si une erreur survient
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.socket-wsaprotocol-info-import-changelog">
  <h3 class="title">Historique</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Version</th>
      <th>Description</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0</td>
      <td>
       En cas de succès, cette fonction renvoie maintenant une instance de <span class="classname"><a href="class.socket.php" class="classname">Socket</a></span>;
       avant, une <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> était renvoyée.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.socket-wsaprotocol-info-import-seealso">
  <h3 class="title">Voir aussi</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.socket-wsaprotocol-info-export.php" class="function" rel="rdfs-seeAlso">socket_wsaprotocol_info_export()</a> - Exporte la structure WSAPROTOCOL_INFO</span></li>
  </ul>
 </div>


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