[Ns-developers] ns-3 tcp implementation

Tom Henderson tomh at tomh.org
Sat Jan 12 15:57:05 PST 2008


Mathieu,

I had a question about your suggestion regarding tcp.


> 
> 2) On the API in src/node/tcp.h
> --------------------------------
> 
> The way you use DefaultValues is a bit on the edge I think: you seem to
> be using them to initialize each Socket when it is created. This means
> that, while the simulation is running, if someone creates a new Socket,
> this Socket will be influenced by the state of the DefaultValues.

Why do you think this is on the edge?  This is how many of the default 
values for ns-2 are used.  See, for instance, ns-2/tcp/tcp.cc

Tom


More information about the Ns-developers mailing list