mirror of
https://github.com/danog/ipc.git
synced 2024-11-26 20:15:05 +01:00
Fallback
This commit is contained in:
parent
1eae1ea407
commit
a44e077f2d
@ -50,7 +50,9 @@ class IpcServer
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!$useFIFO) {
|
if (!$useFIFO) {
|
||||||
$this->server = \stream_socket_server($listenUri, $errno, $errstr, \STREAM_SERVER_BIND | \STREAM_SERVER_LISTEN);
|
try {
|
||||||
|
$this->server = \stream_socket_server($listenUri, $errno, $errstr, \STREAM_SERVER_BIND | \STREAM_SERVER_LISTEN);
|
||||||
|
} catch (\Throwable $e) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
$fifo = false;
|
$fifo = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user