<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.swoole-client.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'swoole-client.sendfile.php',
    1 => 'Swoole\\Client::sendfile',
    2 => 'Send file to the remote TCP socket.',
  ),
  'up' => 
  array (
    0 => 'class.swoole-client.php',
    1 => 'Swoole\\Client',
  ),
  'prev' => 
  array (
    0 => 'swoole-client.send.php',
    1 => 'Swoole\\Client::send',
  ),
  'next' => 
  array (
    0 => 'swoole-client.sendto.php',
    1 => 'Swoole\\Client::sendto',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/swoole/swoole/client/sendfile.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="swoole-client.sendfile" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Swoole\Client::sendfile</h1>
  <p class="verinfo">(PECL swoole &gt;= 1.9.0)</p><p class="refpurpose"><span class="refname">Swoole\Client::sendfile</span> &mdash; <span class="dc-title">Send file to the remote TCP socket.</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-swoole-client.sendfile-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Swoole\Client::sendfile</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$filename</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$offset</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
    This is a wrapper of the Linux sendfile system call.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-swoole-client.sendfile-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
    <dt><code class="parameter">filename</code></dt>
    <dd>
     <p class="para">
      File path of the file to send.
     </p>
    </dd>
   
   
    <dt><code class="parameter">offset</code></dt>
    <dd>
     <p class="para">
      Offset of the file to send
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-swoole-client.sendfile-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
   
  </p>
 </div>



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