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: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
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

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to