Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 1675
Number of posts: 4764

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Telnet Application Posted by Tasman on 22 Jul 2002 at 5:39 AM
Could someone please advise me on what needs to be taken into consideration when developing a telnet application... and possibly what the procedures would be?
Report
Re: Telnet Application Posted by eikedehling on 10 Aug 2002 at 6:24 AM
: Could someone please advise me on what needs to be taken into consideration when developing a telnet application... and possibly what the procedures would be?
:

Telnet in BASIC ?? good luck on using a network-card driver ! if you want to use the serial or parallel port, it would be quite a lot easier.

REM first open te connection (check the exact format of "COM1" in
REM the docs ...
OPEN "COM1" for input/output/whatever as #1


REM a loop to check for input, and handle it.
DO

   DO
      data = INPUT$(#1)
   LOOP UNTIL data <> ""

   REM handle input.
   SELECT CASE data
      REM handle each case. assemble each byte into some string
      REM till a commandstring is completed ...
      REM just read the specs on exact data about the protocol...
   END SELECT

LOOP UNTIL (we are done)


you need procedures to handle each command, and receive connections, etc. Quite some work ...

SUSE LINUX 7.3 PRO - The world starts behind windows




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.