How to check connection to X server

Levine, Rob Rob.Levine at ngc.com
Mon Nov 5 06:06:46 PST 2007


I have an app that connects to an X server and listens for particular
events.

Periodically, I need to query the X serve to determine if the app is
still connected.

How can I do this?

Is there an X api call, perhaps, that I could send to the X server that
will reply with a status if the connection is ok or not?

Thanks in advance for any help!

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20071105/79746558/attachment.html>


More information about the xorg mailing list