History log of /php-src/ext/sockets/sockets.c (Results 176 – 200 of 440)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 8687332e 08-May-2013 Gustavo Lopes

Fix bug #64506: fix build with --disable-ipv6

Revision tags: php-5.5.0RC1, php-5.3.25, php-5.4.15, php-5.3.25RC1, php-5.5.0beta4, php-5.4.15RC1, php-5.4.14, php-5.3.24, php-5.5.0beta3, php-5.3.24RC1, php-5.4.14RC1, php-5.5.0beta2, php-5.5.0beta1, php-5.3.23, php-5.4.13, php-5.5.0alpha6, php-5.3.23RC1, php-5.4.13RC1
# 59ec22b3 24-Feb-2013 Gustavo Lopes

sendrecvmsg_shutdown function moved to mshutdown

The function php_socket_sendrecvmsg_shutdown() should have been called in
MSHUTDOWN, not RSHUTDOWN.

Bug only on TSRM builds.

sendrecvmsg_shutdown function moved to mshutdown

The function php_socket_sendrecvmsg_shutdown() should have been called in
MSHUTDOWN, not RSHUTDOWN.

Bug only on TSRM builds.

Should fix bug #64287.

show more ...

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

# e8f0e863 02-Feb-2013 Gustavo Lopes

Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
Fix wrong blocking state being set
Fix tests (Windows)
Remove a Windows only warning
Move & improve PHP_SOCKET_ERROR de

Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
Fix wrong blocking state being set
Fix tests (Windows)
Remove a Windows only warning
Move & improve PHP_SOCKET_ERROR def
Move some declarations to sockets.c
Fix overbroad skipif include

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

# 575b9837 02-Dec-2012 Lars Strojny

Merge branch 'PHP-5.4' into PHP-5.5


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.

12345678910>>...18