[comp.windows.x] Is there any way to tell when a client connection is broken?

jeff@aspect.UUCP (Jeff Rosler) (06/13/90)

Hello!

Perhaps someone can help me with a problem I have.  I've been
attempting to determine a solution to this problem for a couple
of days now.

I have a client which spawns other clients.  This first client would
like to know when any of the other clients die.  I would like to know
when they die not only through XDestroyWindow(), but when they die
because of a broken network connection, or because of a call to XKillClient()
from a window manager, or because they received an umaskable event, or
whatever.  Is there any way the first client can select notification
from the server when the other clients connection are broken?

Thanks in advance for any and all help.

BTW, I tried having the spawned clients create a property which the parent
could select PropertyNotify events on.  However, when the client broke
the connection I didn't receive a PropertyNotify event to tell me that
the property had been deleted.


Jeff Rosler
Aspect Telecommunications
1730 Fox Drive
San Jose, CA  95131-2312
uunet!aspect!jeff
(408) 441-2420