A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
second.py File Reference

Go to the source code of this file.

Namespaces

namespace  second
 

Variables

ns second.address = ns.internet.Ipv4AddressHelper()
 
ns second.clientApps = echoClient.Install(p2pNodes.Get(0))
 
ns second.cmd = ns.CommandLine(__file__)
 
ns second.csma = ns.csma.CsmaHelper()
 
ns second.csmaDevices = csma.Install(csmaNodes)
 
ns second.csmaInterfaces = address.Assign(csmaDevices)
 
ns second.csmaNodes = ns.network.NodeContainer()
 
ns second.echoClient
 
ns second.echoServer = ns.applications.UdpEchoServerHelper(9)
 
c_int second.nCsma = c_int(3)
 
ns second.p2pDevices = pointToPoint.Install(p2pNodes)
 
ns second.p2pInterfaces = address.Assign(p2pDevices)
 
ns second.p2pNodes = ns.network.NodeContainer()
 
ns second.pointToPoint = ns.point_to_point.PointToPointHelper()
 
ns second.serverApps = echoServer.Install(csmaNodes.Get(nCsma.value))
 
ns second.stack = ns.internet.InternetStackHelper()
 
 second.try :
 
 second.value
 
c_bool second.verbose = c_bool(True)