skypjack / uvw

Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!
MIT License
1.84k stars 209 forks source link

If send UDP as async, does the uvw will queue message automatically? #251

Closed portsip closed 3 years ago

portsip commented 3 years ago

If send UDP as async, does the uvw will queued the message automatically? Can I set the maximum of the queue size?

Thanks

skypjack commented 3 years ago

Both questions have nothing to do with uvw. The library forwards everything to libuv under the hood. Therefore, messages are queued automatically if they are so in libuv. Similarly, unless you can set the maximum queue size in libuv, you can't do it in uvw. This library stays true to the interface and offer of its underlying library and doesn't add on top of it.

skypjack commented 3 years ago

I close this as stale. Feel free to continue the discussion here if you've any doubts. Thanks.