« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for rval (0.001 sec.)
socket_set_option — ソケットのオプションを設定する | PHP 8.3 9414
socket_set_option (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) socket_set_option — ソケットのオプションを設定する 説明 function socket_set_option ( Socket $socket , int $level , int $option , array | string | int $value ): bool socket_set_option() ... t , '127.0.0.1' , 1223 )) { echo 'ソケットをバインドできません: ' . socket_strerror ( socket_last_error ()) . PHP_EOL ; } $rval = socket_get_option ( $socket , SOL_SOCKET , SO_REUSEADDR ); if ( $rval === false ) { echo 'ソケットのオプションを取得でき ... ません: ' . socket_strerror ( socket_last_error ()) . PHP_EOL ; } else if ( $rval !== 0 ) { echo 'SO_REUSEADDR がソケットに設定されています!' . PHP_EOL ; } ?> 参考 socket_create() - ソケット(通信時の終端 ...
https://man.mtool.work/php/8.3/function.socket-set-option.html
PREV 1 NEXT