Hello All,

Is it appropriate to use a libev write callback
to call sendfile? Or is it better to use libeio sendfile support?

My workflow is:

1) socket accept (libev)
2) socket read (libev)
3) file read (libeio)
4) sendfile (??)

Step 3 is needed to calculate the file offsets required by sendfile.

I suppose if I used libeio for step 4, I wouldn't need to integrate
libeio into the libev event loop.
Just not sure which lib is the most appropriate here.

Thanks!!!!

Aaron

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to