]> AND Public Git Repository - simgrid.git/blob - examples/lua/bittorrent/bittorrent.lua
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Incorporate simgrid-java in simgrid-java/.
[simgrid.git] / examples / lua / bittorrent / bittorrent.lua
1 -- A SimGrid Lua implementation of the Bittorrent protocol.
2
3 require("simgrid")
4         
5 require("peer")
6 require("tracker")
7
8 simgrid.platform(arg[1] or  "../../msg/msg_platform.xml")
9 simgrid.application(arg[2] or "bittorrent.xml")
10 simgrid.run()