Solved

How to program telnet?

Posted on 1997-10-01
5
321 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

16 Experts available now in Live!

Get 1:1 Help Now