1 ? $argv[1] : 'Hello'; /* Create a socket */ $queue = new ZMQSocket(new ZMQContext(), ZMQ::SOCKET_REQ); $queue->connect("tcp://127.0.0.1:5555"); $queue->setSockOpt (ZMQ::SOCKOPT_LINGER, 1000); $queue->send($message); echo $queue->recv();