Re: GLib and IPC



On Friday 16 April 2004 01:32, Zoran Rilak wrote:

  following GTK+'s requirement that processes using it may not run with
suid bit on, I'm writing a separate process with superuser privileges.
This process needs to communicate with the GUI part rather tightly, so
I've checked GLib docs for inter-process comunication stuff, but
couldn't verify that any of thread-related functions can be used between
separate processes.  Is there any way to achieve IPC using GLib?

You could set up one or more pipes or unix sockets and use those in connection 
with GIOChannels.

The GNet library (http://www.gnetlibrary.org) provides convenience functions 
for unix sockets (based on GLib's GIOChannels as well).

Cheers
-Tim





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]