Local daemon socket
jim frost
madd at world.std.com
Thu Mar 8 11:07:34 AEST 1990
warlock at csuchico.edu (John Kennedy) writes:
> I'm looking for a way to make a daemon executable on more than one machine.
[...]
> If I only have one daemon running on the network, it's fine. If I have two
>or more, they fail to bind the socket (Address already in use). I'd like to
>limit the daemon so that other daemon's may be run on different host machines.
It doesn't look as though it should fail if run on different machines,
only if run on the same machine.
I can't give you any advice as to what's the matter with your code,
but I *do* have a tutorial with code fragments that show how to
properly set up an AF_INET SOCK_STREAM server/client pair and to
communicate between them. I also have a full application -- a network
message system like "rsend" -- which I could send to you as a further
example. Interested? If so, please contact me via email.
jim frost
saber software
jimf at saber.com
More information about the Comp.unix.wizards
mailing list