Connection drop detection question

5 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Yan Brenman

ungelesen,
16.12.2017, 15:56:5016.12.17
an cpp-n...@googlegroups.com
Dear cpp-netlib developers!

I have a simple HTTP server (right now it's synchronous, but I can make it asynchronous) which receives heartbeat messages from client webpage, extracts the time stamp client reported and uses it for some processing. It doesn't write anything back to the client as far as our processing concerned.
Is there a callback I can use (or exception, or anything else) which would let me to be notified that client connection has been dropped (to be used as an indication that client webpage got closed).

Greatly appreciate your help
Yan
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten