You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do? If possible, provide a simple script for reproducing the error.
I tried to subscribe a TCP server to a multicast channel :
$ret = socket_set_option( $socket, IPPROTO_IP, MCAST_JOIN_GROUP, [ 'group' => '225.0.0.1', 'interface' => 'eth0' ] );
What did you expect to see?
TCP server is able to suscribe to multicast channel.
What did you see instead?
PHP Warning: socket_set_option(): Unable to set socket option [92]: Protocol not available
What version of OpenSwoole are you using (show your php --ri openswoole)?
openswoole
Open Swoole => enabled
Author => Open Swoole Group <[email protected]>
Version => 22.0.0
Built => Dec 22 2022 13:01:47
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
sockets => enabled
openssl => OpenSSL 3.0.2 15 Mar 2022
dtls => enabled
http2 => enabled
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
mysqlnd => enabled
postgresql => enabled
Directive => Local Value => Master Value
openswoole.enable_coroutine => On => On
openswoole.enable_preemptive_scheduler => Off => Off
openswoole.display_errors => On => On
openswoole.unixsock_buffer_size => 8388608 => 8388608
What is your machine environment used (show your uname -a & php -v & gcc -v) ?
php --ri openswoole
)?uname -a
&php -v
&gcc -v
) ?You can also try the following OpenSwoole support channels:
The text was updated successfully, but these errors were encountered: