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

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.