This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Re: telnet
- To: ecos-discuss at sources dot redhat dot com
- Subject: Re: [ECOS] Re: telnet
- From: Jamie Guinan <guinan at bluebutton dot com>
- Date: Mon, 21 Aug 2000 10:33:30 -0400 (EDT)
- Reply-To: guinan at bluebutton dot com
On Mon, 21 Aug 2000, Bart Veer wrote:
> However, having a dedicated interpreter (Tcl, Python, hand-crafted,
> whatever) embedded into your application, accepting connections on a
> specific socket and responding to selected commands on that socket,
> would be a reasonable approach for many applications.
The standard networked HP printer "telnet" interface is a good example of
this kind of thing in practice.
I've seen other embedded os's support a simple shell with a few built-in
commands, that you can extend by creating an array of data structures
something like { const char *cmd; int (*func)(); } and calling an API
function to register them. The shell was available on port 23 if you
configured for it. Might be a neat thing to have in eCos.
Just my $0.02.
-Jamie