Hi All,


I am using KEEP_ALIVE mechanism to detect connection break. 

But the Connection is getting RESET in middle of data transfers because i am 
only receiving data and not sending any data.



But the KEEP_ALIVE code is taking care of only received ack time stamp.If I am 
not sending  any data I will always be a victim of this code.



I am referring to tcp_timer.c code.



        elapsed = keepalive_time_when(tp);



       if (tp->packets_out || tcp_send_head(sk))

                goto resched;



        elapsed = tcp_time_stamp - tp->rcv_tstamp;



        if (elapsed >= keepalive_time_when(tp)) {



Can anyone please help me on this.





Regards

Mohan









      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to