lwip folks,
I've been using version 1.4.1 happily for a while, decided to try 2.0.3
in hopes of doing more ipv6.
I use it pretty simply raw api, event driven with libevent.
Here's what I am scratching my head on, any suggestions would be greatly
appreciated.
SYN packet arrives and lwip send SYN/ACK
ACK packet arrives and lwip resets the connection, because the ack
number which looks correct to me fails TCP_SEQ_BETWEEN because the ackno
is pcb->snd_nxt + 1
tcp_in.c:709
case SYN_RCVD:
if (flags & TCP_ACK) {
/* expected ACK number? */
if (TCP_SEQ_BETWEEN(ackno, pcb->lastack+1, pcb->snd_nxt)) {
This area of the code, just hasn't changed much since 1.4.1
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users