uTools-Manuals/docs/php/socket_cmsg_space.html
2019-04-08 23:22:26 +08:00

82 lines
2.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Calculate message buffer size</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.socket-cmsg-space" class="refentry">
<div class="refnamediv">
<h1 class="refname">socket_cmsg_space</h1>
<p class="verinfo">(PHP 5 &gt;= 5.5.0, PHP 7)</p><p class="refpurpose"><span class="refname">socket_cmsg_space</span> &mdash; <span class="dc-title">Calculate message buffer size</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.socket-cmsg-space-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>socket_cmsg_space</strong></span>
( <span class="methodparam"><span class="type">int</span> <code class="parameter">$level</code></span>
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$type</code></span>
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$n</code><span class="initializer"> = 0</span></span>
] ) : <span class="type">int</span></div>
<p class="para rdfs-comment">
Calculates the size of the buffer that should be allocated for
receiving the ancillary data.
</p>
<div class="warning"><strong class="warning">Warning</strong><p class="simpara">本函数还未编写文档,仅有参数列表。</p></div>
</div>
<div class="refsect1 parameters" id="refsect1-function.socket-cmsg-space-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">level</code></dt>
<dd>
<p class="para">
</p>
</dd>
<dt>
<code class="parameter">type</code></dt>
<dd>
<p class="para">
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.socket-cmsg-space-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.socket-cmsg-space-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="socket_recvmsg.html" class="function" rel="rdfs-seeAlso">socket_recvmsg()</a> - Read a message</span></li>
<li class="member"><span class="function"><a href="socket_sendmsg.html" class="function" rel="rdfs-seeAlso">socket_sendmsg()</a> - Send a message</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>