History log of /PHP-8.3/ext/sockets/sendrecvmsg.c (Results 76 – 78 of 78)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# b27c22d6 02-Nov-2012 Gustavo Lopes

Fix bug in from_zval_write_control_array()

# b06f0047 02-Nov-2012 Gustavo Lopes

Fix bug converting zval sockaddr

The bug ocurred when the family was not specified but was instead guessed.

# 5e51c851 01-Nov-2012 Gustavo Lopes

Wrap recvmsg() and sendmsg()

This introduces two new functions:

int socket_recvmsg(resource $socket, array &$msghdr, int $flags)
int socket_sendmsg(resource $socket, array $msgh

Wrap recvmsg() and sendmsg()

This introduces two new functions:

int socket_recvmsg(resource $socket, array &$msghdr, int $flags)
int socket_sendmsg(resource $socket, array $msghdr, int $flags)

The arrays representing struct msghdr follow the native counterpart
closely: structs are mapped to arrays, fields to array elements whose
key is the name of the field without the prefix (e.g. "name" instead
of "msg_name") and array are mapped to sequential numeric PHP arrays.

Right now the only type of ancillary data supported is fot the
level/type pair IPPROTO_IPV6/IPV6_PKTINFO.

I also refactored out the name resolution functions and made
sockets_strerror() a global function.

show more ...

1234