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

Re: [ns2]: TCP-connections get pruned ?!



Hi Kannan,

> The conjecture is that, by default, addresses are 8 bytes for the node
> address, and 8 bytes for the port id.  So, any host address 128 and over
> gets treated as a multicast address, which appears to be what you are
> seeing.
> 
> Lee and Polly had fixed this problem when they encountered it earlier.
> I had mistakenly thought that this fix to expand addresses was the
> default.  You might try adding the line:
> 
> 	Node expandaddr
> 
> right after you acquire the instance of the simulator.  Then, allocate
> your multicast address as 
> 
> 	set group [Node allocaddr]

Great thanks. That's been the solution. I works now!

      -Chris.