Hi i am starting a personal project and i would like someone to point me in the right direction. Basically what i am tryin to do is to get a computer to telnet to another. So the program would therefore run and then i would enter the ip address and port of the target computer i am trying to connect to, then enter the username and password to logon, and then i can run the telnet commands within it.....e.g - telnet 127.0.0.1 100
I was discussing it with a friend of mine and he was telling me about looking into the use of sockets so thats what i am currently doing. I would like for anyone who is willing to at least let me know if i am going in the right direction or if there is a simpler way to do this besides the socket method. Also any snippets of code are always welcomed.
Thanks in advance for any help.