]> git.meshlink.io Git - meshlink/commit
Changed ping behaviour (backwards compatible). If we don't have any data
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 14 May 2000 13:02:20 +0000 (13:02 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 14 May 2000 13:02:20 +0000 (13:02 +0000)
commite20e143f1e99bdc0a7d92e97da1bd0dc40e8a83b
treea5c03b5aba5ddbeeaf80d59a1349c23aff6310f5
parentee96ccabbbf0180d5631d3c22838456f28ee9c15
Changed ping behaviour (backwards compatible). If we don't have any data
to send, we don't need to check if the connection is still alive.
Furthermore, if we receive any kind of data from the other end, we know
it's alive, so we don't need to check it either. So, PING requests are
only sent if we send packets but there is no response.
src/net.c
src/net.h