-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Alan Reinhold wrote: > It would seem to be that the best solution here would be to have a > server script that creates a tcp/ip socket and sites on a read on the > socket, in which then the client connects to the server, sends a msg, > and based on that msg, the server would execute the desired action. > This would be a tpical server-client network communication procedure. > The server script would sit in a state in which it is waiting for the > other side of the socket to be connect by the client, accept a msg, and > then disconnect the client, and what for another connection. >
Of course rather than write a custom script for this there are a number of tools - for example cfengine (http://www.cfengine.org/) - that could achieve this. Regards James Turnbull - -- James Turnbull <[EMAIL PROTECTED]> - --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) - --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFElC0M9hTGvAxC30ARA8DYAKC8umyV+6bSy4hCFlpbNmX4XRcPZQCgndfH lW1w/XFyUNOlusIlK7amDQA= =WNUh -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>