lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] do connects time out?


From: Adam Dunkels
Subject: [lwip-users] Re: [lwip] do connects time out?
Date: Wed, 08 Jan 2003 23:06:44 -0000

Hi!

On Fri, 2002-11-08 at 16:40, Dirk Koopman wrote:
> We have a working implementation of 0.5.3 but have noticed that connects
> to non-existent IP addresses don't seem to time out (unless we get some
> ICMP notification back). Is there some parameter that we can tweek to
> change this behaviour or do we simply wait until we have had enough?

There is a configuration parameter (in lwipopts.h) called TCP_SYNMAXRTX
that determines how many retransmissions of the initial SYN that should
be made. When TCP_SYNMAXRTX retransmissions have been made, the stack
gives up on the connection and the errf() callback is invoked with the
ERR_ABRT flag set.

/adam

[This message was sent through the lwip discussion list.]




reply via email to

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