Again, events here are "readability" and "writeability" and the fact that
the lower network layer freed a buffer is not, per se, an event (unless
before, "writeability" was tested and reported as unavailable).
In you case the solution looks pretty simple. Just create appropriately
sized buffers, split the single sendfile into multiple buffer-sized ones,
and recycle the buffer once each of them completes.
- Davide
-