rhxk has asked for the wisdom of the Perl Monks concerning the following question:
this may be a dumb question, but in any case here it is. within the same machine, I'm using unix domain socket
server/clients for communication. How can i get the
client script send back a result to the server script? here's my goal. i have 2 machines on the same network.
machine_a has multi users on it, and machine_b has only
a single user on it. in machine_b, I have a script that
generates some numbers. I'd like for the users on
machine_a to call a client.script that uses the socket
to contact my server.script on machine_a. Then my server.script will issue a "ssh me@machine_b /home/me/run_script". So far I've been able to do this. however, how would I
get my server.script to send back the results to
client.script so the users can know of the results
produced on machine_b? thanx for any input
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: a dumb socket question
by beable (Friar) on Jul 14, 2004 at 23:38 UTC | |
|
Re: a dumb socket question
by rupesh (Hermit) on Jul 15, 2004 at 05:32 UTC | |
|
Re: a dumb socket question
by castaway (Parson) on Jul 15, 2004 at 06:55 UTC | |
by rhxk (Beadle) on Jul 15, 2004 at 17:09 UTC | |
by iburrell (Chaplain) on Jul 15, 2004 at 17:39 UTC | |
by rhxk (Beadle) on Jul 15, 2004 at 18:46 UTC |