lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] tcp_data packets


From: ramash
Subject: Re: [lwip-users] tcp_data packets
Date: Thu, 10 Jan 2008 00:27:25 -0800 (PST)

Sample packets shown in attachments hint is see for sequence number(00 00 99
8f)after that packet drop takes place,

Jonathan Larmour wrote:
> 
> ramash wrote:
>> Hi all,
>>     I have been using lwip code to send TCP packets to a client program
>> through serial port.
>>     I am facing the problem that sequence number becomes five bytes 
>>     Initially for TCP packets client send connect packet and server will
>> send accept packet by taking sequence number as acknowledge number and
>> acknowledge number as sequence number,and it is follow on all the
>> packets.
>> 
>>     First the acknowledge number send by acknowledge packet for accept
>> packet is 0x0000196f,after the first data packet send (400 bytes size)the
>> acknowledge number(0x00001964 + 190(400) = 0x00001aff).this will go on
>> for
>> further packet,at one iteration the acknowledge number is 0x00007d5d6f.
>>      Then i solved this problem by masking the 0x7d and made the next
>> byte
>> as 0x5d + 0x20.but a five to ten packets after this packet the sequence
>> number of server(lwip) is junk/garbage value.
> 
> I'm not quite sure what you're saying here. You're saying the ACK number
> is
> 0x00007d5d6f - the non-zero bytes are only three bytes, so do you mean
> that
> the ACK field in the TCP header has increased by a further byte, which is
> zero?
> 
> No-one else has seen this for sure. What version of lwIP are you using and
> where did you get it from?
> 
> Jifl
> -- 
> eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
> Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
> Registered in England and Wales: Reg No 4422071.
> ------["Si fractum non sit, noli id reficere"]------       Opinions==mine
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
> 
> 
http://www.nabble.com/file/p14729661/drop.htm drop.htm 
http://www.nabble.com/file/p14729661/redundant.htm redundant.htm 
-- 
View this message in context: 
http://www.nabble.com/tcp_data-packets-tp14710185p14729661.html
Sent from the lwip-users mailing list archive at Nabble.com.





reply via email to

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