A Discrete-Event Network Simulator
API
first.py File Reference

Go to the source code of this file.

Namespaces

 first
 

Variables

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