You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.
I'm building up a UDP server using libuv that uses threads to answer. I could only get pieces of code (single-threaded UDP server, using work queues...), though nothing self-contained with this premise.
However, I got to the part where uv_write2 is called and is supposed to receive a uv_stream_t* casted from a uv_tcp_t*. I'm currently using uv_udp_t so I don't know if it makes sense to cast it to uv_stream_t*. If it doesn't correspond, how/what should I give to the worker threads to respond to UDP packages arriving?
The text was updated successfully, but these errors were encountered:
hey, there
I'm building up a UDP server using libuv that uses threads to answer. I could only get pieces of code (single-threaded UDP server, using work queues...), though nothing self-contained with this premise.
I also found a recommendation of modifying the test/benchmark-multi-accept.c code, which is what I'm currently working on.
However, I got to the part where
uv_write2
is called and is supposed to receive auv_stream_t*
casted from auv_tcp_t*
. I'm currently usinguv_udp_t
so I don't know if it makes sense to cast it touv_stream_t*
. If it doesn't correspond, how/what should I give to the worker threads to respond to UDP packages arriving?The text was updated successfully, but these errors were encountered: