Event Based Network simulation framework/tool

Hello

I am in the need of an event based network simulation framework. I need to be able to simulate various latencies,bandwidth,chrash and implement my own protocol on top of UDP and TCP/IP.

This simulater if for my master thesis that deals with Peer to peer game networks.

Hope you can help :slight_smile:

Middy

http://www.topology.org/soft/sim.html

ah great links… found a few of them myself… Its missing jsim though (http://www.j-sim.org/)

Thanks. I was thinking. Can we use j-sim for games ?

We can use j-sim to to test yes.

J-sim only provides a way to create scenarioes and play with them. The scenarios, app level protocols and the application you have to think up yourself.

In a way a game is like a simulator or a ficticious scenario where we can play. In a game we have to time how much time will be spent in rendering, ai, game logic, ui input. In certain ocasions we may also have to setup a communications netwrok between agents and entities in the game. I was think that if this j-sim api was fast enough it could take some of these tasks of regulation of temporization for itself with an aceptable performance loss.

j-sim is incredibly fast, even faster than many C++ based simulators and much easier to use since java objects can used directly in the simulation inviroment, but j-sim uses simulation time not cpu times (makes sense when U think about it). therefor any application that should be tested should be able to read and use this synthetic clock.

I takes about 5 mins to implement a application layer protocol and j-sim provides you with the lower layers. The trick is to design the network topology (physical network, wirering), and routing.

Thats great. I have to give it a try.