- PHP 手册
- 函数参考
- 其它服务
- Sockets
- Socket 函数
socket_cmsg_space
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
socket_cmsg_space — Calculate message buffer size
说明
socket_cmsg_space(int$level
, int $type
, int $num
= 0): ?int
Calculates the size of the buffer that should be allocated for receiving the ancillary data.
警告本函数还未编写文档,仅有参数列表。
参数
-
level
-
-
type
-
返回值
参见
- socket_recvmsg() - Read a message
- socket_sendmsg() - Send a message
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/function.socket-cmsg-space.php