在线文档教程
PHP
联网 | Networking

socket_cmsg_space

socket_cmsg_space

(PHP 5 >= 5.5.0, PHP 7)

socket_cmsg_space — Calculate message buffer size

Description

int socket_cmsg_space ( int $level , int $type )

Calculates the size of the buffer that should be allocated for receiving the ancillary data.

Warning

This function is currently not documented; only its argument list is available.

Parameters

level type

Return Values

See Also

  • socket_recvmsg() - Read a message

  • socket_sendmsg() - Send a message

← socket_close

socket_connect →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.socket-cmsg-space.php