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

Re: Problem with fulltcp in NS-1.4



>
> From:  Brad Williamson <[email protected]>
> To:    [email protected]
> Subject: Problem with fulltcp in NS-1.4
> Date:  Mon, 04 May 1998 11:28:27 +0800
>
> Dear All,
> 
>   I am using ns-1.4 and am having some difficulty in obtaining the TCP sequen
ce 
>   numbers using the fulltcp model. I would like to know if anyone else has
>   had the same problem? If so, is there a solution?

yes, the problem is that there is a funny thing in ns-1
with respect to sequence numbers.  If you ask a fulltcp for
the value of "seqno" using "get" (which you did), you
actually get the value of curseq_ which is the highest
byte number provided to the tcp, so you actually are
getting what you ask for :).  What you probably want to
do instead is this:

	puts "the real tcp seqno should be [$tcp seqno]"
	puts "tcp curseq should be [$tcp get seqno]"

BTW, you really should move away from nsv1 to v2.  We haven't
supported it in eons, and there's bound to be bunches
of bugs in there lurking around that have likely been fixed in v2.

- K