(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.
This function is currently not documented; only its argument list is available.
leveltype
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.socket-cmsg-space.php