Telnet Application - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Telnet Application

TasmanTasman Posts: 1Member
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?

Comments

  • eikedehlingeikedehling Posts: 123Member
    : 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.

    [CODE]
    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)
    [/CODE]

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

    SUSE LINUX 7.3 PRO - The world starts behind windows

Sign In or Register to comment.