TELNETD
TELNETD ( -- )
Vocabulary of definitions managing the TELNET server function.
Select telnetd
vocabulary:
broker broker-connection bs, client client-len clientfd connection l, port s, server sockfd telnet-emit telnet-emit' telnet-key telnet-port telnet-type
broker ( -- )
Word defined by defer.
Execute broker-connection
by default.
broker-connection ( -- )
Processing loop for the active TELNET link.
client-len ( -- addr )
Variable.
clientfd ( -- fl )
Pseudo constant defined by value.
Default value -1.
connection
Used by broker-connection
.
server ( port -- )
Start the telnet server on the specified port. Example:
z" WiFiSSID" \ SSID of your WiFi access z" password" \ password of your WiFi access login cr telnetd 552 server \ activate TELNET server
sockfd ( -- fl )
Pseudo constant defined by value.
Default value -1.
telnet-emit ( ch -- )
Emits a character on the active TELNET port.
telnet-emit' ( ch -- )
telnet-key ( -- n )
Retrieves a character from the active TELNET port.
telnet-port ( a n -- )
telnet-type ( addr len -- )
Transmits a character string on the active TELNET port.