CougarXR7 has asked for the wisdom of the Perl Monks concerning the following question:
I have 2 PCs, my main (OS: Win10) will run a program.
While the program is running on my main PC, my 2nd PC, (with the Ubuntu OS) will run a Query terminal.
I need a script to do the following, (IP and starting port shown are examples):
The script runs 12.345.67.890:25000 querying that program.
That IP and Port gets entered followed by \status\ .
Once those 2 inputs are done and there is no return/reply from that program, then it does this.
Same ip address but this time the port "inc +1".
123.45.67.890:25001
\status\
It keeps doing that port "inc" until there is a return/reply from the program.
Once the program has sent a return/reply, that script stops, leaving that information on screen in Terminal.
Is this even possible to do?
I need this script! I hope it can be done!
If need be, I would gladly pay someone for this!
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Querying program port
by jcb (Parson) on Aug 11, 2019 at 00:39 UTC | |
by CougarXR7 (Acolyte) on Aug 11, 2019 at 06:00 UTC | |
by jcb (Parson) on Aug 11, 2019 at 06:21 UTC | |
by CougarXR7 (Acolyte) on Aug 11, 2019 at 07:04 UTC | |
by jcb (Parson) on Aug 11, 2019 at 07:28 UTC | |
| |
|
Re: Querying program port
by stevieb (Canon) on Aug 09, 2019 at 22:27 UTC | |
by CougarXR7 (Acolyte) on Aug 09, 2019 at 23:02 UTC |