Variables | |
address = ns.Ipv4AddressHelper() | |
clientApps = echoClient.Install(nodes.Get(0)) | |
devices = pointToPoint.Install(nodes) | |
echoClient = ns.UdpEchoClientHelper(address, 9) | |
echoServer = ns.UdpEchoServerHelper(9) | |
interfaces = address.Assign(devices) | |
nodes = ns.NodeContainer() | |
pointToPoint = ns.PointToPointHelper() | |
serverApps = echoServer.Install(nodes.Get(1)) | |
stack = ns.InternetStackHelper() | |