On Fri, Jun 13, 2014 at 07:50, sven falempin wrote: >> Now soliciting diffs to change readwrite to a loop with two buffers >> that poll()s in all four directions. :) >> >> > Is using kqueue ok ?
Sorry. Returning to this point in the thread, I agree with Theo the answer is no. People are running this code on linux, and using kqueue just makes life hard for them. There's no benefit in a program like this. Same for libevent. Unnecessary complication.