Daemons?
BCS
BCS at pathlink.com
Wed Aug 15 09:23:09 PDT 2007
Deewiant wrote:
> Daniel Swe wrote:
>
>>I want a single instance of the program. So that when I write ./test -console
>>it doesnt really start a new instance of the program but instead connects to
>>the older instance.
>
>
> I'd probably use sockets, as they're practically universally supported and don't
> require platform-specific code. If you're willing to go POSIX-only you could
> also try named pipes, as Regan suggested.
>
> See also http://en.wikipedia.org/wiki/Inter-process_communication
>
sockets would have the nice side effect that you could run the CLI/GUI
on a different system.
More information about the Digitalmars-d-learn
mailing list