Skip to content

Commit 8c22467

Browse files
committed
ext/sockets: adding solaris/illumos SO_EXCLBIND constant.
when set to "true", neutralises the effect of SO_REUSEADDR/SO_REUSEPORT making the socket binding exclusive.
1 parent 68592c8 commit 8c22467

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

UPGRADING

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,7 @@ PHP 8.4 UPGRADE NOTES
566566
. SOCK_CONN_DGRAM (NetBSD only).
567567
. SOCK_DCCP (NetBSD only).
568568
. TCP_SYNCNT (Linux only).
569+
. SO_EXCLBIND (Solaris/Illumos only).
569570

570571
- Sodium:
571572
. SODIUM_CRYPTO_AEAD_AEGIS128L_KEYBYTES

ext/sockets/sockets.stub.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,12 @@
410410
*/
411411
const SO_BPF_EXTENSIONS = UNKNOWN;
412412
#endif
413+
#ifdef SO_EXCLBIND
414+
/**
415+
* @var int
416+
* @cvalue SO_EXCLBIND
417+
*/
418+
#endif
413419
#ifdef SKF_AD_OFF
414420
/**
415421
* @var int

ext/sockets/sockets_arginfo.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)