Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
862 views
in Technique[技术] by (71.8m points)

simulation - How to let http web browsers run simultaneously in inet (omnet++)

I developed the following network and it runs perfectly all what I need from it I get it..

.ini

enter image description here

attached is the graphical visualization: sim.png

What remains is that I need to let the web browsers located in the hosts to generate traffic simultaneously (means that for example I want to see host [6] and host3 sending to the servers at the same time and so) I need this because I want to capture traffic at the link layer level based on specific statistics. The current situation doesn't produce the statistics I want to generate.

The current simulation runs as follows: sim2.png The connection between a host and a server has to finish then the next communication session between another host and a server will start. It seems like that.

Any suggestions will be highly appreciated.

question from:https://stackoverflow.com/questions/65850812/how-to-let-http-web-browsers-run-simultaneously-in-inet-omnet

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Are you absolutely sure that they cannot run at the same time? Simulation time and animation time is two completely different thing. i.e. even if you see that message animations of two messages are sequentially animated on the GUI, it does NOT mean that they are not happening in the same time in simulation time.

Watch the simulation time in the upper right corner and see when it is progressing and when not. Or (if you are more of a visual type) record an event log from the simulation and see the sequence chart generated from that run. You will easily see events that are happening at the same simulation time.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...