https://linen.dev/ logo
I'm currently issuing a `recv` linked to a timeout...
# general
c
I'm currently issuing a
recv
linked to a timeout and don't want to deal with 2 CQEs (requires keeping track of state etc), one way i thought about handling this is by using
IOSQE_CQE_SKIP_SUCCESS
for the timeout, and only rely on the
ECANCELED
error in the `recv`'s res field to detect that the timer fired. Am I missing something important here or is this the proper way you guys would also do it?