examples/wifi-adhoc.cc
changeset 2887 9a637e6daee0
parent 2784 49006cbbfac7
child 2890 172baa5960ff
--- a/examples/wifi-adhoc.cc	Sun Apr 06 21:57:11 2008 +0100
+++ b/examples/wifi-adhoc.cc	Mon Apr 07 10:38:37 2008 -0700
@@ -115,9 +115,9 @@
   c.Create (2);
 
   PacketSocketHelper packetSocket;
-  packetSocket.Build (c);
+  packetSocket.Install (c);
 
-  NetDeviceContainer devices = wifi.Build (c);
+  NetDeviceContainer devices = wifi.Install (c);
 
   MobilityHelper mobility;
   Ptr<ListPositionAllocator> positionAlloc = CreateObject<ListPositionAllocator> ();
@@ -134,7 +134,7 @@
   onoff.SetAppAttribute ("DataRate", DataRate (60000000));
   onoff.SetAppAttribute ("PacketSize", Uinteger (2000));
   onoff.SetPacketRemote (devices.Get (0), devices.Get (1)->GetAddress (), 1);
-  ApplicationContainer apps = onoff.Build (c.Get (0));
+  ApplicationContainer apps = onoff.Install (c.Get (0));
   apps.Start (Seconds (0.5));
   apps.Stop (Seconds (250.0));