Can anyone tell me how to open a Telnet session in C++? I am new to this and am trying to write a small program for work where I open a Telnet session and send some TL1 commands. I thought this would be good practice.
Thanks a lot, Jim
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What I was wondering if there was some C++ code which could open the Windows Telnet session so I could send some TL1 commands. I looked at the above URL and it is pretty daunting for a beginner.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can anyone tell me how to open a Telnet session in C++? I am new to this and am trying to write a small program for work where I open a Telnet session and send some TL1 commands. I thought this would be good practice.
Thanks a lot, Jim
Take a look at
http://linux.techass.com/projects/tatelnet/
Don't be mislead by the linux url. Here you find source code for several telnet clients (including a W32 console app).
I successfully compiled the console app in DevCC 4.9.7.1 and gcc 2.95.3-6
/Roger
What I was wondering if there was some C++ code which could open the Windows Telnet session so I could send some TL1 commands. I looked at the above URL and it is pretty daunting for a beginner.
Thanks
Well, have a look at the examples on this page:
http://tangentsoft.net/wskfaq/
in section 2.1.
Here you have some basic code you can use!
GL /Roger