I tried to connect to ZMQ XPUB socket (using http://www.php.net/manual/ru/book.zmq.php) ,but there is no result, code below:
$context = new \ZMQContext();
$subscriber = $context->getSocket(\ZMQ::SOCKET_XSUB);
$subscriber->connect("tcp://11.98.26.100:7775");
$subscriber->send("\1user_100001.");
$string = $subscriber->recv();
echo $string;
The process is nothing received. I found in Is there example of implementation the connection through XSUB socket for PHP ? I looked in http://zguide.zeromq.org/php:_start but there is no exapmle for XSUB socket.