Skip to content

How long should it take for both sides of a link to recognize disconnects? #319

Discussion options

You must be logged in to vote

Ok, so how then should I be shutting down reticulum cleanly

Just do:

exit(0) # Or whatever non-0 exit code you need

That's all. Reticulum detects the program termination and cleans up. Any open links should be closed cleanly and automatically send teardown packets.

The problem you are seeing is more or less completely equivalent to immediately terminating a program with an open TCP connection. It will take a long time for the remote host to detect that the connection is no longer active (unless certain TCP parameters were set on the socket via the kernel interfaces).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ThomasFreedman
Comment options

@markqvist
Comment options

Answer selected by ThomasFreedman
@ThomasFreedman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants