react/zmq examples

17 views
Skip to first unread message

shawmutsteve

unread,
Nov 2, 2018, 9:41:23 AM11/2/18
to zeromq
Hi

Are their any examples for reactphp/zeromq?  Specifically, I'm trying to user SOCKET_DEALER and SOCKET_ROUTER to achieve bidirectional and async messages.  But the examples I find are all very old, and not supported by any documentation.

For instance - the event 'message' when using SOCKET_PUB becomes the event 'messages' when using SOCKET_DEALER.  Where is this documented?  Also, there seems to be a concept of SOCKOPT_IDENTITY - but I cannot find any documentation on this either.

Lastly - there are a few examples showing that an "END" must be sent.  But what is it for?  Is it still relevant, as the api seems to have shifted some since these examples were written.

Thank you
Reply all
Reply to author
Forward
0 new messages