chardev TCP socket keep-alive

2023-10-13 Thread Joao Machado
Can keep-alive option be added to chardev TCP socket? My config is the like this: -chardev socket,id=charserial0,host=0.0.0.0,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 op

chardev feature suggestion: option to allow concurrent sessions

2023-10-13 Thread Joao Machado
As per my understanding, currently -chardev server only allows 1 session with exclusive access. The idea is to allow possibility of having multiple clients connected on the same chardev socket, where: - chardev output: broadcasted to all clients. - chardev input: shared by all clients (proce