cplusplus/networking-ts

Where is the null_buffers?

vinniefalco opened this issue · 4 comments

No, it wasn't proposed for inclusion.

So basically you are going to ignore the BSD 1983 standard of reactor design (epoll, select, kqueue, poll) and just force the Windows IOCP model onto everyone? Proactor pattern is not native of any Unix system and that is why ASIO has null buffers to allow one to use the reactor design instead.

By ignoring the Unix native pattern and forcing the Windows pattern into standard is completely unacceptable.

It is now spelled basic_socket::wait() and basic_socket::async_wait(). (And likewise for basic_socket_acceptor.)

I don't think we need null_buffers when there is a more natural way to wait for readiness, using a dedicated method. We also don't need to worry about silly overreactions, so I'm closing this.