项目作者: mkoppanen

项目描述 :
ZeroMQ for PHP
高级语言: C
项目地址: git://github.com/mkoppanen/php-zmq.git
创建时间: 2010-03-31T19:28:01Z
项目社区:https://github.com/mkoppanen/php-zmq

开源协议:Other

下载


PHP bindings for 0MQ. The documentation is available at http://php.net/zmq

Build Status

The API is roughly as follows:

  1. <?php
  2. /* Create new queue object */
  3. $queue = new ZMQSocket(new ZMQContext(), ZMQ::SOCKET_REQ, "MySock1");
  4. /* Connect to an endpoint */
  5. $queue->connect("tcp://127.0.0.1:5555");
  6. /* send and receive */
  7. var_dump($queue->send("hello there, using socket 1")->recv());
  8. ?>

For installation instructions see http://pecl.php.net/zmq

For developer instructions see DEVELOPERS.md