I want to write a program in C++ that automatically opens telnet with an IP-adress too connect to a server, and read and write to this server. could somebody please tell me how to do this?
Thanks a lot...

Recommended Answers

All 4 Replies

Maybe this should help. Not sure though.

I want to write a program in C++ that automatically opens telnet with an IP-adress too connect to a server, and read and write to this server. could somebody please tell me how to do this?
Thanks a lot...

I have found the telnet tool from DART to be very useful in creating a host of screen scraping an automated tools to my unix systems. They have a .Net control and a set of C++ libraries, but I can only attest to the value of the Controls. They have saved me lots of programing hours.

http://www.dart.com/dotnet/telnet.asp
http://www.dart.com/products/

Todd Beckett
IT Guy
JDB Fine Hotels & Resorts
http://www.jdbhotels.com

Thanks a lot, I'm trying to compile it with visual c++ but I've got a lot of errors for instance this one "fatal error C1083: Cannot open include file: 'i386/cdefs.h': No such file or directory". I'm not an experienced c++ programmer but I would like to learn it. I see that it's not so easy to just read and write from an windows- telnet window.

hi,

you can used extraputty (free software), this software offers a DLL for Win32 application in order to access to Telnet SSH protocol to send receive data.

http://extraputty.free.fr

Asebt.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.