Closed ivan2kh closed 5 years ago
You could also go for using libuv - uSockets can run on libuv and libuv has support for what you want
Thank you for your help. libuv will suffice.
Yes I think that is the better solution for now - libuv is very popular and works well with usockets
Hi, Alex. I would like to propose a better support for 3rd party polls. The idea is to make another net libraries work together with uSockets in the same loop. I have investigated the public API
Finally I suggest to implement a custom version of us_poll_init: void us_poll_init_custom(struct us_poll_t p, LIBUS_SOCKET_DESCRIPTOR fd, void (cb)(struct us_poll_t *p, int events));
What would you say? May I provide a pull request for the proposal?