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

RE: [ns] tcp-full agent runs error with wireless-cum-wired mip ,help!



Hi:
    Thank you for your help, I've already fixed the promblem by adding
"#ifdef nodef
................


 #endif" in recv process.

Another question:
"How can I carry out the routing optimization of ipv6 with ns2.1b8."

Thanks for seeing the mail:)

Yiying,Chen
BUPT,China

-----Original Message-----
From: ext Michele C. Weigle [mailto:clark@cs.unc.edu]
Sent: 26. July 2001 22:51
To: EXT-Yiying.Chen@nokia.com
Cc: ns-users@ISI.EDU
Subject: Re: [ns] tcp-full agent runs error with wireless-cum-wired mip


  I've gotten this error message when the server's SYN/ACK is lost and the
client resends its SYN.  The server is in SYN_RECEIVED state and then
receives a duplicate SYN.  I fixed my problem by only printing this error
message when (state_ != TCPS_SYN_RECEIVED).  The appropriate behavior (in
my opinion) is to just ignore the resent SYN.  The server will resend the
SYN/ACK in a short time anyway, due to its timeout mechanism.  Anyone have
other ideas of what should happen in this case?

  In what I described above, the sequence number reported in the error
message is 1, but you're getting 21, so there may be a different problem.
I'd suggest printing the current TCP state when this error occurs (the
code is in tcp-full.cc).

Michele
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Michele C. Weigle
michele_weigle@unc.edu, clark@cs.unc.edu
http://www.cs.unc.edu/~clark

CB# 3175, Sitterson Hall
Department of Computer Science
University of North Carolina
Chapel Hill, NC 27599-3175
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%