This is the mail archive of the ecos-discuss@sources.redhat.com 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: Problem with TCP Urgent data (old stack).


On Thu, Apr 24, 2003 at 10:10:18AM -0500, Grant Edwards wrote:

> When my eCos app sends a Ctrl-C to telnetd, it kills the
> running shell command and inserts a telnet data-mark (0xff
> 0xf2) as urgent data in the stream.
> 
> The eCos TCP/IP stack only removes the first byte of the
> sequence so that my app sees the 0xf2 but not the 0xff.

Setting the OOBINLINE option on the socket fixes the problem,
but I'm still curious about whether linux telnetd is only
marking the first byte of the data-mark tuple as urgent or if
there's an RFC961 dis-connect between the Linux stack and the
FreeBSD stack (that's the old one, right?).

I should dig up the telnetd sources and look...

-- 
Grant Edwards
grante at visi dot com

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


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