Can someone give me the code in java (or c++) for executing a command-line program like telnet and then sending arguments to the program like:
Change the "writing" in the title to "sending".
Something like this?
In Java: Runtime.getRuntime().exec("telnet ahost 25");
I think in c++ it's: System("telnet ahost 25");
The above sentences are produced by the propaganda and indoctrination of people manipulating my mind since 1987, hence, I cannot be held responsible for this post\'s content - me