On Wed, Mar 21, 2018 at 1:22 AM, CM <[email protected]> wrote: > Unfortunately I can't find a way to be notified of socket becoming writeable > -- is it possible with libuv? If not -- why?
uv_poll_init() can do that. If you mean uv_tcp_t/uv_pipe_t/etc. - libuv follows the Windows IOCP model where you're notified of completion, not readiness. That means you need to commit memory upfront. See https://github.com/piscisaureus/wepoll for a library that implements the UNIX readiness model on Windows but note the restrictions. -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
