Menu

Opening a Telnet session

2002-12-31
2012-09-26
  • Nobody/Anonymous

    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

     
    • Nobody/Anonymous

      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

       
    • Nobody/Anonymous

      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

       
    • Nobody/Anonymous

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.