lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LwIP 1.4.1: Outgoing TCP connection does not work - LwI


From: Marco Jakobs
Subject: Re: [lwip-users] LwIP 1.4.1: Outgoing TCP connection does not work - LwIP sends RST, ACK
Date: Thu, 20 Dec 2012 09:31:38 +0100

Hi Simon,

 

thanks, i'll check the random number and/or live with the RTS ;-)

 

But this was not the root problem … I've updated this in my port which I did 1.5h later ;-)

" LwIP 1.4.1: Outgoing TCP connection does not work         - not able to send data on nonblocking TCP connection!"

 

Marco

 

From: address@hidden [mailto:address@hidden On Behalf Of address@hidden
Sent: Thursday, December 20, 2012 9:13 AM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] LwIP 1.4.1: Outgoing TCP connection does not work - LwIP sends RST, ACK

 

a) Make the device use a different initial Seqno on every boot (i.e. random number). You can do that in lwIP by defining TCP_LOCAL_PORT_RANGE_START and TCP_LOCAL_PORT_RANGE_END yourself (see tcp.c).
b) Just live with the RST once (now you know where it comes from) and open the connection a second time. The RST from packet 57 should ensure that the first connection is closed on the server as well.


Simon


reply via email to

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