I see that Mio has support for:
is_read_closed
is_write_closed
Can we get that in Calloop as well?
I am trying to use a client server architecture with Unix Sockets. Multiple clients can connect to the server. In rust every time there is a new connection to UnixListener it get's it's own UnixStream. I would like to keep track of connections so that I can send messages to appropriate streams.
But I also need to detect when the stream has been shutdown and we know that we won't receive anymore data in it.
Is there a reason why these aren't implemented? It seems like Mio does it using EPOLLHUP, EPOLLIN, EPOLLRDHUP.
Is there a way to achieve this in calloop already that I don't know about?
I see that Mio has support for:
is_read_closed
is_write_closed
Can we get that in Calloop as well?
I am trying to use a client server architecture with Unix Sockets. Multiple clients can connect to the server. In rust every time there is a new connection to UnixListener it get's it's own UnixStream. I would like to keep track of connections so that I can send messages to appropriate streams.
But I also need to detect when the stream has been shutdown and we know that we won't receive anymore data in it.
Is there a reason why these aren't implemented? It seems like Mio does it using EPOLLHUP, EPOLLIN, EPOLLRDHUP.
Is there a way to achieve this in calloop already that I don't know about?