So suggested fix will be like, tcphdr->ackno = htonl(pcb->rcv_nxt); TCPH_FLAGS_SET(tcphdr, TCP_ACK); tcphdr->wnd = htons(pcb->rcv_ann_wnd) ; tcphdr->urgp = 0;
right? On Wed, Feb 18, 2009 at 11:47 AM, Kieran Mansley <[email protected]> wrote: > On Wed, 2009-02-18 at 12:38 +0100, Simon Goldschmidt wrote: > > > tcphdr->wnd = htons(pcb->rcv_ann_wnd) + 1; > > > > I'm not sure, but shouldn't that be > > > > tcphdr->wnd = htons(pcb->rcv_ann_wnd + 1); > > Of course, you are right, thank you Simon. > > Kieran > > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > -- Bandu [email protected]
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
