lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] keep-alive not work


From: Bandu
Subject: Re: [lwip-users] keep-alive not work
Date: Wed, 18 Feb 2009 12:12:41 +0000

 
Thank you very much for you help Kieran. Really appreciate it.
 
Regards,
Bandu

On Wed, Feb 18, 2009 at 12:09 PM, Kieran Mansley <address@hidden> wrote:
On Wed, 2009-02-18 at 12:01 +0000, Bandu wrote:
>
> 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?

Nearly:

 tcphdr->ackno = htonl(pcb->rcv_nxt);
 TCPH_FLAGS_SET(tcphdr, TCP_ACK);
 tcphdr->wnd = htons(pcb->rcv_ann_wnd + 1);
 tcphdr->urgp = 0

and the same in tcp_zero_window_probe()

Kieran



_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users



--
Bandu
address@hidden

reply via email to

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