Re: SO_KEEPALIVE - a solution for where X servers are shut down?
Matthias Scheler <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jun 10, 2005 at 04:52:25PM +0100, Nick Hill wrote: > If the TCP socket is closed by the kernel, will X apps also close, > thereby freeing redundant resources? Yes. > If this would work, can anyone consider a reason not to enable SO_KEEPALIVE? It might cause problems which e.g. use a notebook as X11 server and suspend it. Without such a change the X11 clients will survive, with the change they'll be killed. The best solution is probably to make that optional. Kind regards -- Matthias Scheler http://scheler.de/~matthias/