|
ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
|
Layer 6/7 - minimal RFC 854 Telnet server (PC_ENABLE_TELNET). More...
#include "protocore_config.h"#include "shared_primitives/frame.h"#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Layer 6/7 - minimal RFC 854 Telnet server (PC_ENABLE_TELNET).
A zero-heap line-oriented Telnet console dispatched from the session layer's ConnProto::PROTO_TELNET arms (the same way SSH is dispatched to ssh_conn). On connect it negotiates server-side echo + suppress-go-ahead (so the client runs in character mode and the server draws the line), accumulates a line, echoes keystrokes (with backspace handling), and hands each completed line to a command callback. Output can be pushed to all connected clients.
Telnet is plaintext - no authentication or encryption. Use it only on a trusted network; prefer SSH or the WebSocket terminal otherwise.
Usage:
Definition in file telnet.h.