socket icon indicating copy to clipboard operation
socket copied to clipboard

Unix Domain Socket support (UDS)

Open Tofandel opened this issue 6 months ago • 1 comments

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
    });
}

Tofandel avatar Aug 09 '24 13:08 Tofandel