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 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.

This article has been dead for over six months. Start a new discussion instead.