Open
Description
AF_UNIX comes to Windows
https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/
libzmq quietly added support in 4.3.3, php-zmq seemingly supports without change
Windows 11, PHP 8.4 AMD Ryzen 5 16 gb ddr3 ram. Push and Pull approx. 10,000 messages per second. Requires Windows 10
server.php
<?php
$server = new ZMQSocket(new ZMQContext(), ZMQ::SOCKET_PULL);
$server->bind("ipc://test.ipc");
$looped = 0;
/* Loop receiving and echoing back */
while ($message = $server->recv()) {
echo $looped++."\r";
}
client.php
<?php
$client = new ZMQSocket(new ZMQContext(), ZMQ::SOCKET_PUSH);
$client ->connect("ipc://test.ipc");
while (1) {
$client ->send("test");
}
Metadata
Metadata
Assignees
Labels
No labels