Hello,
after a TCP socket is shutdown by remote host call to EventLoop::deregister(TcpStream) fails with error No such file or directory (os error 2). MIO v0.4.x lacks of that behavior so I was able to deregister active or shutdown sockets without getting the error.
In my project sockets can be closed by my application or by remote hosts and I need to deregister them properly. Is there a way I can test if socket is active before call to EventLoop::deregister?
I run on Mac OS X El Captain, Rust 1.6, branch master.