Brad Nicholes wrote:
Forgive me for jumping in late and I have to admit that I haven't looked at the API's yet, but why do we need a new API? Shouldn't the apr_socket abstraction carry enough information so that apr_write() would be sufficient and do the right thing?
Of course it -can-. It's simply that the additional branch logic will ultimately perform less optimally than per-object read/write, and therefore it's a good thing to offer developers pure one-object semantics and a generic abstraction.
