Hi,

I have Async streaming server implemented in C++.
I want to know is there any way to detect on server side when a client 
disconnects so that i can clean up the resources. 

Currently i am relying on "m_serverContext->IsCancelled ()" but i need to 
periodically check this if the client is present or gone. I am thinking of 
some event or notification received at server side when client disconnects 
so that i don't need to periodically checks the 
"m_serverContext->IsCancelled ()".

Thanks
Chaitanya

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/578be824-2c0e-49dd-bef9-b740f84c231f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to