[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

chardev TCP socket keep-alive

From: Joao Machado
Subject: chardev TCP socket keep-alive
Date: Fri, 13 Oct 2023 23:39:22 +0100

Can keep-alive option be added to chardev TCP socket?
My config is the like this:
-chardev socket,id=charserial0,host=,port=41234,telnet=on,server=on,wait=off

The problem is that without keep-alive, if the user disconnects without gracefully terminating the TCP session, the session stays open forever. In this state, new sessions can't access the chardev, since the zombie TCP session keeps exclusive access.
I think TCP keep-alive option would provide a elegant solution for this problem.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]