I think the easiest way to do what you are suggesting would be to run a "proxy" (your hook) that listens on the usual X socket (either TCP or UNIX). Then, run the X server on a non-standard port, and forward all the packets in both directions through your proxy.

This assumes, first of all, that it's possible to run X on a non-standard port. I don't know how you would do this.

Also, it would be inefficient if you only wanted to intercept X *requests*, since the X responses would have to pass back through your proxy on their way to the client.

Could the Record extension somehow be used to do this?

On Tue, 22 Oct 2002 01:20:05 -0700 (PDT)
Anurag Palsule <[EMAIL PROTECTED]> wrote:
Hello,

Is it possible for me to write a wrapper or a hook to
the Xserver,so that all the X calls, instead of going
to Xserver, will land into my application and my
application will inturn pass them to the X server for
further processing.

If yes, how ?

thanks,
Anurag



__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert
Scott Long
SwiftView, Inc. http://www.swiftview.com
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to