Hi,
I am using bufferevent_* APIs for my application to read/write data to TCP stream. When the data arrives, the read callback happens, I want to read partial data (at times), and then be able to post an event back so that the event is queued up and read callback is called again. I thought event_active() gives this functionality but apparently its not. I am using event_active with following parameters,
event_active(&bev->ev_read, EV_READ, 1);