Hello,

I am writing a network client program using Vibe on Linux. The program needs to log out from the server on shutdown, when SIGINT is raised (like pressing Ctrl+C). In order to do so, I tried to use createFileDescriptorEvent with a Linux signalfd.
What happens is that FileDescriptorEvent.wait() returns immediately rather than waiting for the signalfd to be ready for reading. I traced it down to a recv(MSG_PEEK) call in eventcore. This call fails with ENOTSOCK.
My question now is, in order to understand how non-socket file descriptors could be supported: What is the purpose of this call?

Thanks,
David