socket_cmsg_space

(PHP 5 >= 5.5.0, PHP 7)
Calculate message buffer size
int socket_cmsg_space ( int $level, int $type )

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

Parameters:
level

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

type

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

Returns:

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

See also:

socket_recvmsg() -

socket_sendmsg() -

doc_php
2016-02-24 16:10:00
Comments
Leave a Comment

Please login to continue.