omnetpp.ini 1003 B

123456789101112131415161718192021222324252627282930
  1. [General]
  2. network = TransportConnectionVisualizationExample
  3. tkenv-plugin-path = ../../../etc/plugins
  4. # mobility parameters
  5. *.*.mobility.constraintAreaMinX = 0m
  6. *.*.mobility.constraintAreaMinY = 0m
  7. *.*.mobility.constraintAreaMinZ = 0m
  8. *.*.mobility.constraintAreaMaxX = 1000m
  9. *.*.mobility.constraintAreaMaxY = 1000m
  10. *.*.mobility.constraintAreaMaxZ = 0m
  11. # tcp apps
  12. **.host[*].numTcpApps = 2
  13. **.host[*].tcpApp[0].typename = "TCPSinkApp"
  14. **.host[*].tcpApp[0].localPort = 1000
  15. **.host[*].tcpApp[1].typename = "TCPSessionApp"
  16. **.host[*].tcpApp[1].active = true
  17. **.host[*].tcpApp[1].connectAddress = "host[" + string((index + intuniform(1, 9)) % 10) + "]"
  18. **.host[*].tcpApp[1].connectPort = 1000
  19. **.host[*].tcpApp[1].tOpen = 0
  20. **.host[*].tcpApp[1].tSend = 0
  21. **.host[*].tcpApp[1].sendBytes = 100MiB
  22. **.host[*].tcpApp[1].tClose = 0
  23. **.host[*].tcpApp[*].localPort = -1
  24. **.host[*].tcpApp[*].sendScript = ""
  25. # visualizer parameters
  26. *.visualizer.*.transportConnectionVisualizer.displayTransportConnections = true