On Wed, Mar 14, 2012 at 2:41 AM, David Mitchell <[email protected]>wrote:

>
> Is is possible when running a PHP script under mod_php or CGI and an
> Apache Web server to bind or connect to a TCP or IPC socket?  I can
> bind and connect when using the PHP CLI, but the connection just hangs
> when making a send or recv call from within a Web application.
>

Absolutely, but you need something to be running on the other side to
receive the message. For that kind of situation you'd have a queue server
bind() and recv() messages in a loop, and the web workers connect(),
send(), their message and quite. I would definitely recommend reading the
guide ( http://zero.mq/zg ) before diving in though.

Ian
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to