Yes the application is sending packet with tcp len 0. Question was is
Below is the packet as seen in ethereal. (Is there better way to share
Thanks for the help.
Post by Rick JonesIsit not for the TCP keepalive length=0? But for TCP keep alive seq
number is -1.
I do not believe that a TCP keepalive segment has a sequence number of
-1. The sequence number is, IIRC, selected to be to the "left" of the
window so the receiving TCP will "accept" it (ie not abort) and
generate an immediate ACK based on the "arrival of out of order data"
rule.
But in my case It's not keep-alive packet the sequence number being
not -1. But when this packet of tcp.len = 0 is sent somehow i'm
getting TCP reset after few packet exchanges So thats why I suspect
any BSD bugs ..?.
I read your initial post as asking if it was OK to try to send a
zero-length segment via TCP - ie that you were trying to make a send()
call with a length of zero and have that cause a zero-length TCP
segment to be transmitted.
Do you believe that the stack is actually sending zero-length TCP
segments that are not simply "bare" ACKs? Do you have a packet trace
to share?
Do you have an application that is explicitly trying to call send()
with a zero-length buffer?
rick jones
--
oxymoron n, commuter in a gas-guzzling luxury SUV with an American flag
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...