Hi,
I'm trying to write multiplexing protocol. Data has to be read from many
prioritized buffers (which will be fed by many different threads), sent as a
one UDP stream via Network, and then written to many different
buffers(regarding info from the header).
To be precise here's an image: http://im
Hi Michal,
Hopefully this is not too verbose but I'm actually going to be
rewriting a more complicated variation of this problem myself so figured I'd
walk through it in detail as an exercise.
This is really not something you need libevent to do for you, in
fact libevent wouldn't
Hi Kelly,
thanks for your response. My plan is to implement this protocol just as you
said. But I don't want to use libevent between Sender and Receiver,
since there will be only one socket anyway. Actually I wanted to use it
between buffers and sender/receiver as a kind of priority queue.
Via th
Hi Michal,
Libevent's priorities are not likely to do what you want given this
information. From my understanding of libevent priorities they only choose
between existing events and reorder them (basically just the priority queue
item) but they are tied to a specific fd/event pair such th