Solved

C++ telnet client api library

Posted on 2002-04-01
5
3,337 Views
Last Modified: 2012-06-27
I want to telnet to some linux server from my C++ program, execute some commands at root level and get the output.

Is there any C++ telnet api library using which I can do something like this :

        char * reply;
        //Telnet wrapper class of the library
        Telnet telnet = new Telnet(host);
        // Send username and passwd  
        reply = telnet.login("username","passwd");
        // Send the command and get the reply in a buffer
        reply = telnet.sendCommand("pwd");



0
Comment
Question by:adinarayanak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Expert Comment

by:krydea
ID: 6909937
yeah sort of
wwwlib
www.w3.org
0
 
LVL 6

Accepted Solution

by:
Triskelion earned 100 total points
ID: 6910210
0
 
LVL 6

Expert Comment

by:Triskelion
ID: 6910255
0
 
LVL 11

Expert Comment

by:griessh
ID: 6957188
Dear adinarayanak

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "Triskelion"

comment(s) as an answer.

If you think your question was not answered at all, you can post a request in Community support (please include this link) to refund your points. The link to the Community Support area is: http://www.experts-exchange.com/commspt/

=========================================================
You have 10 open questions out of 34 that need your attention! Please take
some time and accept an answer if an expert was able to help you or
provide feedback if needed.
==========================================================

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 

Author Comment

by:adinarayanak
ID: 6957633
Thanks for your answer.
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question