diff -r 57710f066013 -r 9f13ac3291e0 tutorial/tutorial-star-routing.cc --- a/tutorial/tutorial-star-routing.cc Sun Dec 30 19:36:44 2007 -0800 +++ b/tutorial/tutorial-star-routing.cc Wed Jan 02 09:09:24 2008 +0100 @@ -51,13 +51,13 @@ NS_LOG_INFO ("Star Topology with Routing Simulation"); - Ptr n0 = Create (); - Ptr n1 = Create (); - Ptr n2 = Create (); - Ptr n3 = Create (); - Ptr n4 = Create (); - Ptr n5 = Create (); - Ptr n6 = Create (); + Ptr n0 = CreateObject (); + Ptr n1 = CreateObject (); + Ptr n2 = CreateObject (); + Ptr n3 = CreateObject (); + Ptr n4 = CreateObject (); + Ptr n5 = CreateObject (); + Ptr n6 = CreateObject (); Ptr link01 = PointToPointIpv4Topology::CreateChannel (DataRate (38400), @@ -145,10 +145,10 @@ uint16_t port = 7; - Ptr client = Create (n4, "10.1.1.2", port, + Ptr client = CreateObject (n4, "10.1.1.2", port, 1, Seconds(1.), 1024); - Ptr server = Create (n1, port); + Ptr server = CreateObject (n1, port); server->Start(Seconds(1.)); client->Start(Seconds(2.));