lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] ethernetif.c HANDLE error


From: Jonathan Larmour
Subject: Re: [lwip-devel] ethernetif.c HANDLE error
Date: Wed, 20 Feb 2008 15:40:20 +0000
User-agent: Thunderbird 1.5.0.12 (X11/20070530)

Piero 74 wrote:
> **Just add [lwip-devel] in the object!

The mailing list software does this automatically. You do not need to.

> Moderator can delete the previous. Sorry!

This is not a moderated list. No-one can delete mails you've sent out after
you've sent them. Note that resending mails does not particularly increase
your chances of getting a reply, and for some people (like myself) tends to
decrease them.

> ---------- Forwarded message ----------
> From: *Piero 74* <address@hidden <mailto:address@hidden>>
> Date: 20-feb-2008 10.48
> Subject: ethernetif.c HANDLE error
> To: lwip-devel <address@hidden <mailto:address@hidden>>
> 
> Hi all!
> 
> just a question:
> 
> if i have some strange problem in my EMAC driver OR simply the link is
> off (cable is unplugged),
> my implementattion of low_level_output return ERR_IF
> 
> Is it correct or it could be a problem?

ERR_IF is a fatal error. If lwIP encounters that when sending data, the
associated sockets/connections will get forcibly closed. It's up to you
(through your driver implementation) if that's what you want.

Normally the link going away (e.g. cable unplugged) is considered a
temporary failure, and not one to cause connections to be dropped. Perhaps
that driver should be changed.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
Visit us @ Embedded World 2008, Nürnberg, Germany, 26-28 Feb:Stand 11-336
------["Si fractum non sit, noli id reficere"]------       Opinions==mine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]