<?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-recvmsg.php',
    1 => 'socket_recvmsg',
    2 => 'Lit un message',
  ),
  'up' => 
  array (
    0 => 'ref.sockets.php',
    1 => 'Fonctions sur les sockets',
  ),
  'prev' => 
  array (
    0 => 'function.socket-recvfrom.php',
    1 => 'socket_recvfrom',
  ),
  'next' => 
  array (
    0 => 'function.socket-select.php',
    1 => 'socket_select',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/sockets/functions/socket-recvmsg.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.socket-recvmsg" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">socket_recvmsg</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.5.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">socket_recvmsg</span> &mdash; <span class="dc-title">Lit un message</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.socket-recvmsg-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>socket_recvmsg</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="methodparam"><span class="type"><a href="language.types.array.php" class="type array">array</a></span> <code class="parameter reference">&$message</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$flags</code><span class="initializer"> = 0</span></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</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">Avertissement</strong>
<p class="simpara">
 Cette fonction est actuellement non documentée ; seule la liste des arguments est disponible.
</p>
</div>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.socket-recvmsg-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">socket</code></dt>
     <dd>
      <p class="para">
      </p>
     </dd>
    
    
     <dt><code class="parameter">message</code></dt>
     <dd>
      <p class="para">
      </p>
     </dd>
    
    
     <dt><code class="parameter">flags</code></dt>
     <dd>
      <p class="para">
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.socket-recvmsg-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.socket-recvmsg-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>
  <code class="parameter">socket</code> est désormais une instance de <span class="classname"><a href="class.socket.php" class="classname">Socket</a></span> ;
  auparavant, c&#039;était une <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span>.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.socket-recvmsg-seealso">
  <h3 class="title">Voir aussi</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.socket-sendmsg.php" class="function" rel="rdfs-seeAlso">socket_sendmsg()</a> - Envoie un message</span></li>
    <li><span class="function"><a href="function.socket-cmsg-space.php" class="function" rel="rdfs-seeAlso">socket_cmsg_space()</a> - Calcule la taille du buffer</span></li>
   </ul>
  </p>
 </div>


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