HOME

Calculate message buffer size
Socket Functions
PHP Manual

socket_cmsg_space

(PHP 5 >= 5.5.0)

socket_cmsg_spaceCalculate 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 Functions
PHP Manual