erlang-czmq
erlang-czmq copied to clipboard
Is there any way to receive messages as Erlang messages instead of doing recv manually?
Hi,
Is there any way to receive messages as Erlang messages instead of calling czmq:zframe_recv_all/1
manually, just like an active TCP socket?
There is not - this is a polling scheme as it is over a port. However, it's easy to poll in a loop, which will wait on messages from the port - and then send them to a consumer.
On Tue, Jun 7, 2016 at 3:46 AM, Sarat Chandra [email protected] wrote:
Hi, Is there any way to receive messages as Erlang messages instead of calling czmq:zframe_recv_all/1 manually, just like an active TCP socket?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gar1t/erlang-czmq/issues/39, or mute the thread https://github.com/notifications/unsubscribe/AALSdaJXaYykAgrmnsBvzbCYZlUiJs_Gks5qJS_ogaJpZM4IvsTv .