Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

C++ telnet client api library

Posted on 2002-04-01
5
Medium Priority
?
3,497 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 300 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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 goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.

610 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