mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Add support for IPV6_V6ONLY on sockets
This commit is contained in:
parent
049325ca96
commit
855bb36fd0
5 changed files with 28 additions and 3 deletions
|
@ -106,9 +106,11 @@ typedef int php_socket_t;
|
|||
# define SOCK_RECV_ERR -1
|
||||
#endif
|
||||
|
||||
#define STREAM_SOCKOP_NONE 1 << 0
|
||||
#define STREAM_SOCKOP_SO_REUSEPORT 1 << 1
|
||||
#define STREAM_SOCKOP_SO_BROADCAST 1 << 2
|
||||
#define STREAM_SOCKOP_NONE (1 << 0)
|
||||
#define STREAM_SOCKOP_SO_REUSEPORT (1 << 1)
|
||||
#define STREAM_SOCKOP_SO_BROADCAST (1 << 2)
|
||||
#define STREAM_SOCKOP_IPV6_V6ONLY (1 << 3)
|
||||
#define STREAM_SOCKOP_IPV6_V6ONLY_ENABLED (1 << 4)
|
||||
|
||||
|
||||
/* uncomment this to debug poll(2) emulation on systems that have poll(2) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue