diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-03-07 20:27:34 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-03-07 20:27:34 +0100 |
commit | bf6ba56817e6bb083d5c411b1660f696144d5ac6 (patch) | |
tree | cce6a54e47df8b90b4455f054695ce37e969d404 /sys/src/libdraw/window.c | |
parent | 481ae719406aa288aa28ab040e13f3f573fe6776 (diff) |
aan: use sync messages as keep alives
both server and client need to be convinced that the connection
is broken for a connection reestablishment to happen as the server
will only start looking for incoming clients when the connection
already broke. so use the 8 second interval sync messages
to check for connection lifeness. if we miss two syncs in time,
we declare the connecton to be broken and will try to reconnect.
Diffstat (limited to 'sys/src/libdraw/window.c')
0 files changed, 0 insertions, 0 deletions