Daemons?

Daniel Swe daviddavid at slaskpost.se
Thu Aug 16 04:12:56 PDT 2007


Thanks, all of you! I wlll be using sockets. I don't look forward to the message pump though ( needs alot of if's or switches).


Daniel Swe Wrote:

> I'm trying to make a GUI that can display both opengl windows and/or terminal windows (using ncurses). So one could start the program using a terminal (using ./test -console for example) at work. But later when I get home I would like a opengl window so I write ./test -opengl , and the same instance of the program that was used for the console would pop up with all the bells and whistles for opengl. The problem is that I don't really know how to do it. Should I make a daemon that guis connect to? Is there any way to find the pid and communicate with the instance using tango? Or is there another more clever way? I'm currently using gdc and Tango in Ubuntu.
> 
>     //With regards Daniel Swe.
> 
> 



More information about the Digitalmars-d-learn mailing list