[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
procedure newLan
Hi,
I have a question about Lans.
In ns2.1b4 there is 2 tcl procedures Simulator::newLan
One in ~ns/tcl/lan/ns-lan.tcl
which calls
set lan [eval new LanLink $self $args]
And one in ns/tcl/lan/vlan.tcl
which calls
set lan [eval new LanNode $self -bw $bw -delay $delay $args]
As I guess that only the second one is used, what is the purpose
of keeping the first one, and how otcl knows which one to use ?
Is this only for backward compatibility or just to add an extra
level of difficulty ?
Cheers,
Thierry.
--
* mailto:[email protected] Tel +33 (0) 4 76 61 52 69
* INRIA Rhone-Alpes Projet SIRAC (fax 52 52)