Re: Communication



Gareth Bowker a écrit :
> 
> "Florent. Devin" wrote:
> >
> > Hi,
> > I want to know
> > which is the easiest way to connect to program ?
> > You have two programs that runs separately, and have to connect there
> > I/O. Is there a better way to do this in Gnome/Gtk than doing this by
> > IPC ?
> > I need to have the easiest way to do this. I mean that I do not want
> > eavy
> > code modification.
> 
> The way GNOME apps seem to do this is by using CORBA (through ORBit).
> I've never used it myself yet, so I can't comment on what you need to
> change to get things to work, although it is meant to be _very_ fast.
> 
> Hope this helps,
> 
I know there is  many solution :
- file descriptor
- Pipe
- Socket
- Thread
- g_io_channel (but in this case what should I use?)
- GtkSocket
- GtkPlug

If I miss some please tell me.
For now I use g_io_channel with a pipe in it, but I want to know if
there is
a better way, and a simpliest way to better understanding.
-- 
Florent DEVIN, 33 (0)3 20 43 47 30, Fax (33) (0)3 20 43 65 66 (Fax LIFL)
LIFL, Laboratoire d'Informatique Fondamentale de LILLE
USTL, Bureau 326, Bâtiment M3, 59655 Villeneuve d'Ascq Cedex




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