Solved

How to program telnet?

Posted on 1997-10-01
5
372 Views
Last Modified: 2013-11-19
Hello,

I have an application (record set) and I need to incorporate a telnet program into it.  What it needs to do is dial either a local or long distance number to a BBS line.  It needs to upload/download files into this BBS.  It must support ANSI or ANSI_BBS.  Is there a way to program this?  If so, how (is it called TAPI)?  Or are there freeware programs out there that I can incorporate into my application?

thanks, i would appreciate any help
david
0
Comment
Question by:dchau
  • 3
  • 2
5 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 70 total points
ID: 1307305
What you need is Windows socket programming.

A console telnet application with source code
http://www.itribe.net/virtunix/telc10a.zip
0
 

Author Comment

by:dchau
ID: 1307306
Hello chensu,

Thanks for replying.  Sorry, it has taken me this long for a comment.  I visited that site but the owner of the site said the source code is not completely done.  I took a look at it and I don't see any application of TAPI.  Is this right?  Can you briefly tell me how to go about in starting the telnet program?

thanks
david
0
 
LVL 23

Expert Comment

by:chensu
ID: 1307307
It has nothing do to with TAPI. Telnet programs involve Windows Socket programming and Telnet protocol. You may go to the following Web sites to get more information.

http://www.sockets.com
http://www.winsock.com
http://www.goodnet.com/~esnible/winsock.html
http://www.progsource.com/c_windows.html

0
 

Author Comment

by:dchau
ID: 1307308
Hello Chensu,

Thanks for all the links.  I checked them out but there were some that listed books that can help.  The problem is that all the books are on connecting with the internet.  Would you happen to know any books that would help me for my situation?

thanks Chensu
David
0
 
LVL 23

Expert Comment

by:chensu
ID: 1307309
Actually, the program you are writing is not a Telnet program but a BBS program. Therefore, it is not related to the Internet, Winsock and the Telnet protocol. I have never done a BBS program. I think Windows communications API can be used and Telephony API probably. I am sorry that I cannot give you any useful help.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

813 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now