Hey there. When working with bufferevents, in what order does libevent
execute callbacks? Does it fill all the buffers first and then call the
CBs, or does it fill a buffer and call its corresponding CB, one at a
time?

From what I understand, it is more efficient to recv and send on all
available sockets all at once rather than recv, process, recv,
process, etc.

In my case I have to wait until n bytes are recv'd before I can begin
processing. Therefore it might not be worth it to use bufferevents,
since I will have to use buffers which are not drained.

--
Alex
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to