<?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 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.socket-close.php',
    1 => 'socket_close',
    2 => 'Schlie&szlig;t eine Socket-Instanz',
  ),
  'up' => 
  array (
    0 => 'ref.sockets.php',
    1 => 'Socket-Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.socket-clear-error.php',
    1 => 'socket_clear_error',
  ),
  'next' => 
  array (
    0 => 'function.socket-cmsg-space.php',
    1 => 'socket_cmsg_space',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/sockets/functions/socket-close.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.socket-close" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">socket_close</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">socket_close</span> &mdash; <span class="dc-title">Schließt eine <span class="classname"><a href="class.socket.php" class="classname">Socket</a></span>-Instanz</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.socket-close-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>socket_close</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"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>socket_close()</strong></span> schließt die
   <span class="classname"><a href="class.socket.php" class="classname">Socket</a></span>-Instanz, die durch
   <code class="parameter">socket</code> gegeben ist.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.socket-close-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">socket</code></dt>
     <dd>
       <p class="para">
        Eine <span class="classname"><a href="class.socket.php" class="classname">Socket</a></span>-Instanz, die mit
        <span class="function"><a href="function.socket-create.php" class="function">socket_create()</a></span> oder
        <span class="function"><a href="function.socket-accept.php" class="function">socket_accept()</a></span> erzeugt wurde.
       </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.socket-close-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Es wird kein Wert zurückgegeben.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.socket-close-changelog">
  <h3 class="title">Changelog</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Version</th>
      <th>Beschreibung</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
  <td>8.0.0</td>
  <td>
   <code class="parameter">socket</code> ist nun eine
   <span class="classname"><a href="class.socket.php" class="classname">Socket</a></span>-Instanz; vorher war es eine
   <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-close-seealso">
  <h3 class="title">Siehe auch</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.socket-bind.php" class="function" rel="rdfs-seeAlso">socket_bind()</a> - Verkn&uuml;pft einen Socket mit einem Namen</span></li>
    <li><span class="function"><a href="function.socket-listen.php" class="function" rel="rdfs-seeAlso">socket_listen()</a> - H&ouml;rt einen Socket nach Verbindungsanforderungen ab</span></li>
    <li><span class="function"><a href="function.socket-create.php" class="function" rel="rdfs-seeAlso">socket_create()</a> - Erzeugt einen Socket (Endpunkt f&uuml;r die Kommunikation)</span></li>
    <li><span class="function"><a href="function.socket-strerror.php" class="function" rel="rdfs-seeAlso">socket_strerror()</a> - Gibt einen String zur&uuml;ck, der einen Socket-Fehler beschreibt</span></li>
   </ul>
  </p>
 </div>


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