Recent

Author Topic: Telnet server and client objects  (Read 755 times)

MarkMLl

  • Hero Member
  • *****
  • Posts: 8551
Telnet server and client objects
« on: January 21, 2023, 10:30:54 pm »
I've just uploaded Telnet server and client objects to https://github.com/MarkMLl/telnetsrv

Over the last few weeks I've used these successfully to eliminate my reliance on LNet, which I found extremely difficult to debug.

Specifically, one of my apps used Telnet for debugging output, but was unable to cope with a client which disconnected and immediately attempted to reconnect.

The server can intercept INPUT and OUTPUT, this works well with FPC v3, but earlier versions are unreliable for indeterminate reasons.

Arbitrary Telnet options may be hooked and processed, including suboptions such as terminal type.

I'm reasonably confident in its expanding circular buffer implementation, for which I blame Thaddy: it's been tested fairly aggressively with binary data.

I'm hoping at some point to implement Kermit as a further test, but that will require buffer modifications.

On the balance: usable. Enjoy :-)

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018