|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2016-12-21 13:43 UTC] enuser at rambler dot ru
Description: ------------ --- From manual page: http://www.php.net/function.socket-set-option --- Description: ------------ In text missing ' if (!socket_set_option($socket, SOL_SOCKET, SO_REUSEADDR, 1)) { echo 'Не могу установить опцию на сокете: . socket_strerror(socket_last_error()) . PHP_EOL; } Should be so: if (!socket_set_option($socket, SOL_SOCKET, SO_REUSEADDR, 1)) { echo 'Не могу установить опцию на сокете: '. socket_strerror(socket_last_error()) . PHP_EOL; } Thank you. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 09:00:01 2025 UTC |
No it's not. I didn't see fixing if (!socket_set_option($socket, SOL_SOCKET, SO_REUSEADDR, 1)) { echo 'Не могу установить опцию на сокете: . socket_strerror(socket_last_error()) . PHP_EOL; } Still without '