History log of /PHP-7.0/ext/sockets/sockets.c (Results 51 – 75 of 329)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 189fbfd5 23-Feb-2013 Gustavo Lopes

Fix ext/sockets build with phpize

Fixes bug #64285


Revision tags: php-5.3.22, php-5.5.0alpha5, php-5.4.12
# 91538e4e 17-Feb-2013 Gustavo Lopes

Cleanup some multicast code; fix for mac os x?

When I moved some stuff from sockets.c to multicast.c, I did not copy
some conditional defines for systems without the RFC 3678 API.

Cleanup some multicast code; fix for mac os x?

When I moved some stuff from sockets.c to multicast.c, I did not copy
some conditional defines for systems without the RFC 3678 API.

I moved such defines to multicast.h so both sockets.c and multicast.c
can benefit from them and I prefixed them with PHP_ so that it's less
confusing: now PHP_MCAST_* are defined to either the MCAST_* RFC 3678
APIs or to legacy APIs and MCAST_* always mean the (possibly undefined)
system definitions.

show more ...


Revision tags: php-5.3.22RC2, php-5.4.12RC2
# 0110662a 02-Feb-2013 Gustavo Lopes

Move macro back to .c file

Because it depends on a static function on that .c file.


# 7066cc72 31-Jan-2013 Gustavo Lopes

send/recvmsg() support for Windows


Revision tags: php-5.3.22RC1, php-5.4.12RC1, php-5.5.0alpha4, php-5.3.21, php-5.4.11, php-5.5.0alpha3, php-5.3.21RC1, php-5.4.11RC1
# bd580db3 01-Jan-2013 Gustavo Lopes

Build fixes; accept names for if_index


Revision tags: php-5.3.20, php-5.4.10, php-5.5.0alpha2, php-5.3.20RC1, php-5.4.10RC1, php-5.3.19, php-5.4.9, php-5.5.0alpha1, php-5.3.19RC1, php-5.4.9RC1
# 66ea0245 06-Nov-2012 Gustavo Lopes

Support sticky IPV6_PKTINFO


# b18bd890 06-Nov-2012 Gustavo Lopes

Rename some functions for consistency


# 51394f76 06-Nov-2012 Gustavo Lopes

Move some multicast stuff to multicast.c


# 51e65667 05-Nov-2012 Gustavo Lopes

Register extra MSG_* constants


# 13124547 05-Nov-2012 Gustavo Lopes

Redactor to expose socket_import_file_descriptor()


# b3effa60 23-Oct-2012 Gustavo Lopes

Improve imported socket family detection

Also added constant SO_FAMILY.


# 806a6e63 02-Nov-2012 Gustavo Lopes

Add IPV6_UNICAST_HOPS option constant.


# 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 ...


# ac6342bb 01-Feb-2013 Gustavo Lopes

Fix wrong blocking state being set


# 9283b8ae 01-Feb-2013 Gustavo Lopes

Move & improve PHP_SOCKET_ERROR def


# 97d656fc 01-Feb-2013 Gustavo Lopes

Move some declarations to sockets.c


# a666285b 01-Jan-2013 Xinchen Hui

Happy New Year


# 0a7395e0 01-Jan-2013 Xinchen Hui

Happy New Year


# a2045ff3 01-Jan-2013 Xinchen Hui

Happy New Year~


Revision tags: php-5.3.18, php-5.4.8, php-5.3.18RC1, php-5.4.8RC1, php-5.3.17, php-5.4.7
# ec2a132f 02-Sep-2012 Igor Wiedler

Bug #49341: Add SO_REUSEPORT support for socket_set_option()

This is a BSD-only feature, and it will only be available on BSD.
On other platforms the constant will simply not be set.


# bc9f8030 13-Nov-2012 Anatoliy Belsky

Fixed sockets ext build on win


# e7e57aea 23-Oct-2012 Gustavo Lopes

Use if_nametoindex in Vista

I missed this instance in bf19838c.


Revision tags: php-5.4.7RC1, php-5.3.16, php-5.4.6, php-5.4.6RC1, php-5.4.5, php-5.3.15, php-5.3.15RC1, php-5.4.5RC1, php-5.3.14, php-5.4.4, php-5.3.14RC2, php-5.4.4RC2
# 074d361d 21-May-2012 Felipe Pena

- Fix the fix (typo s/AIX/_AIX/g)


# ffe8303f 20-May-2012 Felipe Pena

- Fixed bug #62025 (__ss_family was changed on AIX 5.3)


Revision tags: php-5.3.14RC1, php-5.4.4RC1, php-5.3.13, php-5.4.3, php-5.4.2, php-5.3.12, php-5.3.11, php-5.4.1, php-5.3.11RC2, php-5.4.1RC2, php-5.3.11RC1, php-5.4.1RC1, PHP-5.4.1-RC1, php-5.4.0, php-5.4.0RC8, php-5.3.10, php-5.4.0RC7, php-5.4.0RC6, php-5.3.9, php-5.4.0RC5
# e4ca0ed0 01-Jan-2012 Felipe Pena

- Year++


12345678910>>...14