Closed senid231 closed 3 years ago
Hello. I'm currently working on senid231/libvirt_async - async implementation of libvirt event api. I've interested is it possible to wait for ERR and HUP events in async reactor? It's needed because libvirt uses this events.
ERR
HUP
What is ERR?
Do you mean HUP signal?
EPOLLERR - it's when there is an error occured in fd
EPOLLERR
To get errors, you wait until it's readable and then read to get the error. You can use MSG_PEEK in some cases to avoid removing data from the buffer.
MSG_PEEK
Hello. I'm currently working on senid231/libvirt_async - async implementation of libvirt event api. I've interested is it possible to wait for
ERR
andHUP
events in async reactor? It's needed because libvirt uses this events.