This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Misguided error code in net code?
- To: "'eCos mailing list'" <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] Misguided error code in net code?
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Thu, 19 Jul 2001 16:40:18 -0600
- Organization: Extreme Engineering
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.