socket
socket copied to clipboard
Unix Domain Socket support (UDS)
Is there any plan to support unix sockets like
$server = Socket\listen("server.sock");
while ($client = $server->accept()) {
// You shouldn't spend too much time here, because that blocks accepting another client, so we use async():
async(function () use ($client) {
// Handle client connection here
});
}