Daemons?
Deewiant
deewiant.doesnotlike.spam at gmail.com
Wed Aug 15 05:07:34 PDT 2007
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
--
Remove ".doesnotlike.spam" from the mail address.
More information about the Digitalmars-d-learn
mailing list