I tried for several days, i simply cant do it... I cant learn it by myself.
I'm trying to make a simple program in C++ to compile into a .EXE using DEV-C++
The program will do this:
-Connect through telnet to 127.0.0.1 at the port 8674, you can use port 23,24,25, and so on to connect.
-Send the Authentication message "AUTH 1287".
-Wait for the sentence "Correct! 250" that the server sends
-Now send in each minute the next message "Show stats"
for each (minute) send "Show stats"...
Its a program that I have to show remote stats from other computers i have, but i need to keep it updated this way.
I know there are better options to do what i'm doing but i would like to try this way.
Can someone develope me a script that does that?