Connection drop detection question

5 views
Skip to first unread message

Yan Brenman

unread,
Dec 16, 2017, 3:56:50 PM12/16/17
to 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
Reply all
Reply to author
Forward
0 new messages