Link to home
Start Free TrialLog in
Avatar of adinarayanak
adinarayanak

asked on

C++ telnet client api library

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");



Avatar of krydea
krydea

yeah sort of
wwwlib
www.w3.org
ASKER CERTIFIED SOLUTION
Avatar of Triskelion
Triskelion
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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: https://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
Avatar of adinarayanak

ASKER

Thanks for your answer.