How to handle client socket close when using `dap::net::Server`?
Closed this issue · 2 comments
KevinEady commented
Hi all,
I was wondering how to handle when a socket closes when using a net::Server
? What if the socket closes unexpected before sending a DisconnectRequest
? How can my program be aware of these types of disconnects?
Thanks, Kevin
ben-clayton commented
I've created PR #99 that gives you a callback when the session endpoint closes.
KevinEady commented
Thanks @ben-clayton ! Since #99 is merged, I will go ahead and close this issue.