Re: [lwip-users] TCP 2.0.2 pcb->snd_nxt is not updated somewhere?

2017-08-23 Thread Darius
Hi Simonai, What OS you using? If without OS What is DelaySeconds(5); function? Looks like this fuction blocking mcu? BR. Darius -- View this message in context: http://lwip.100.n7.nabble.com/TCP-2-0-2-pcb-snd-nxt-is-not-updated-somewhere-tp30387p30531.html Sent from the lwip-users

Re: [lwip-users] TCP 2.0.2 pcb->snd_nxt is not updated somewhere?

2017-08-20 Thread basi
Hi Simonas, Did you find the cause of this issue? I'm also getting the same failure with lwIP 2.0.2 + FreeRTOS + netconn APIs for implementing a webserver. The first connection is successful and subsequent connections are failing at following at check TCP_SEQ_BETWEEN in tcp_process. case SYN_RC

Re: [lwip-users] TCP 2.0.2 pcb->snd_nxt is not updated somewhere?

2017-08-07 Thread Joel Cunningham
> > On Aug 7, 2017, at 4:43 AM, Simonas Kazlauskas > wrote: > > So it seems like for some reason the pcb->snd_nxt is one-off. This seems really strange. For an active open, sending of the SYN packet advances pcb->snd_nxt by 1. See the following code in tcp_output(): snd_nxt = lwip_ntohl(se

[lwip-users] TCP 2.0.2 pcb->snd_nxt is not updated somewhere?

2017-08-07 Thread Simonas Kazlauskas
Hi all, I've been using lwIP 2.0.2 branch as a base my networking stack. I implemented a device driver and am using a tcpip thread, these are my options: #define LWIP_SKIP_CONST_CHECK 1 #define LWIP_PROVIDE_ERRNO 1 #define LWIP_TCPIP_CORE_LOCKING 1 #define TCPIP_THREAD_PRIO