google/cppdap

How to handle client socket close when using `dap::net::Server`?

Closed this issue · 2 comments

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

I've created PR #99 that gives you a callback when the session endpoint closes.

Thanks @ben-clayton ! Since #99 is merged, I will go ahead and close this issue.