<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ssh2.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.ssh2-forward-listen.php',
    1 => 'ssh2_forward_listen',
    2 => 'リモートサーバー上のポートにバインドし、接続を待つ',
  ),
  'up' => 
  array (
    0 => 'ref.ssh2.php',
    1 => 'SSH2 関数',
  ),
  'prev' => 
  array (
    0 => 'function.ssh2-forward-accept.php',
    1 => 'ssh2_forward_accept',
  ),
  'next' => 
  array (
    0 => 'function.ssh2-methods-negotiated.php',
    1 => 'ssh2_methods_negotiated',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/ssh2/functions/ssh2-forward-listen.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ssh2-forward-listen" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ssh2_forward_listen</h1>
  <p class="verinfo">(PECL ssh2 &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">ssh2_forward_listen</span> &mdash; <span class="dc-title">リモートサーバー上のポートにバインドし、接続を待つ</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ssh2-forward-listen-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ssh2_forward_listen</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$session</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$port</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$host</code><span class="initializer"> = ?</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$max_connections</code><span class="initializer"> = 16</span></span><br>): <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="simpara">
   リモートサーバー上のポートにバインドし、接続を待ちます。
  </p>

  <div class="warning"><strong class="warning">警告</strong><p class="simpara">この関数は、
現在のところ詳細な情報はありません。引数のリストのみが
記述されています。</p></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.ssh2-forward-listen-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
    <dt><code class="parameter">session</code></dt>
    <dd>
     <span class="simpara">
      SSH セッションのリソースを指定します。
      この値は、<span class="function"><a href="function.ssh2-connect.php" class="function">ssh2_connect()</a></span> を呼び出すことで得られます。
     </span>
    </dd>
   
   
    <dt><code class="parameter">port</code></dt>
    <dd>
     <span class="simpara">
      リモートサーバー上のポート番号を指定します。
     </span>
    </dd>
   
   
    <dt><code class="parameter">host</code></dt>
    <dd>
     <span class="simpara">

     </span>
    </dd>
   
   
    <dt><code class="parameter">max_connections</code></dt>
    <dd>
     <span class="simpara">

     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ssh2-forward-listen-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="simpara">
   SSH2 リスナーを返します。
   失敗した場合に <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> を返します.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ssh2-forward-listen-seealso">
  <h3 class="title">参考</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.ssh2-forward-accept.php" class="function" rel="rdfs-seeAlso">ssh2_forward_accept()</a> - リスナーによって作られた接続を受け付ける</span></li>
  </ul>
 </div>

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