public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Misguided error code in net code?
@ 2001-07-19 15:40 Trenton D. Adams
  2001-07-19 16:11 ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Trenton D. Adams @ 2001-07-19 15:40 UTC (permalink / raw)
  To: 'eCos mailing list'

I just ran a test sending a big string from eCos over the network.  My
one end terminated prematurely because I forgot to put in a loop because
my buffer is only 8K.  Anyhow, on the eCos end I got an error of 22
(EINVAL) from send.  I could be wrong, but this seems like a pretty
weird error when the other end drops the connection.  I would have
expected ECONNRESET.

I'd go looking through the code myself for the problem, if in fact it is
a problem, but I don't have time at this point and I figured since some
of you people know the code better than I do, someone else could find it
in a matter of minutes.

Trenton D. Adams
Embedded Developer
Windows Developer
Extreme Engineering Ltd.
Calgary Alberta.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-07-20  8:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-19 15:40 [ECOS] Misguided error code in net code? Trenton D. Adams
2001-07-19 16:11 ` Gary Thomas
2001-07-19 19:54   ` Jonathan Larmour
2001-07-20  7:37     ` Trenton D. Adams
2001-07-20  7:43       ` Jonathan Larmour
2001-07-20  8:06         ` Trenton D. Adams
2001-07-20  8:14           ` Jonathan Larmour
2001-07-20  7:32   ` Trenton D. Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).