This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redirect console output to telnet


On Tue, Mar 06, 2007 at 02:24:52PM -0800, Tracy Jones wrote:
> Thanks Andrew - 
> 
> Are you suggesting that I call
> 
> void
> diag_init_putc(void (*putc)(char c, void **param))
> {
>     _putc = putc;
> }
> 
> At runtime when accept returns and I have the fd to write to the telnet
> client and replace putc with my own function that will do a send on that fd??

Yes

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]