Well its been a long time since I have coded anything in c and time is a factor (as I just don't have any to spare). I'll have to figure something else out for it. The modifications would be more than net/socket.c, as the client connects to the tcp server/listener and when it goes away, there is nothing in TCP to tell it it went away. There would have to be a keepalive mechanism put into both the client and the server to know when to tear down a connection and then another function to start connection establishment/retries. This is why the UDP method of doing connections in earlier versions of qemu worked so well and I wish we would bring it back. It didn't worry about state. Thanks anyway.
Tim