I've just uploaded Telnet server and client objects to
https://github.com/MarkMLl/telnetsrvOver 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