Hi!1) I don't see any notion of event notification on FD exception - e.g. socket close.
There are some words for buffer events, but nothing for regular file
descriptor based callbacks. So what is a good way to get a callback when specific
FD is closed/disconnected?If the fd is a socket and the peer closes then you'll get a read callback. When you read from the fd 'read' will return 0 indicating that the peer closed.