[nanomsg] Re: libnng : events for sendable/receivable implemented

  • From: SGSeven Algebraf <a1rex2003@xxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Tue, 17 Jan 2017 08:13:45 -0500

*"libnng will now call into your application (using a registered callback)
when you can recv or send without blocking. "*

This is great! Callbacks are extremely useful. I assume that callback
function can be specified with its own argument of type void *.

*"Also, events may be “coalesced”, e.g. if multiple packets arrive quickly,
we may wind up just signaling the application once[...]"*
- I am lost here. How is the applications signaled? Does it mean we get one
callback for multiple messages?

Thanks,
- Samuel

Other related posts: