A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename the property used by the energy plugin for clarity
[simgrid.git]
/
examples
/
lua
/
bittorrent
/
bittorrent.lua
diff --git
a/examples/lua/bittorrent/bittorrent.lua
b/examples/lua/bittorrent/bittorrent.lua
index
26381a7
..
7be4395
100644
(file)
--- a/
examples/lua/bittorrent/bittorrent.lua
+++ b/
examples/lua/bittorrent/bittorrent.lua
@@
-1,10
+1,16
@@
+-- Copyright (c) 2012, 2014. The SimGrid Team.
+-- All rights reserved.
+
+-- This program is free software; you can redistribute it and/or modify it
+-- under the terms of the license (GNU LGPL) which comes with this package.
+
-- A SimGrid Lua implementation of the Bittorrent protocol.
require("simgrid")
-- A SimGrid Lua implementation of the Bittorrent protocol.
require("simgrid")
-
+
require("peer")
require("tracker")
require("peer")
require("tracker")
-simgrid.platform(arg[1] or "../../
msg/msg_
platform.xml")
+simgrid.platform(arg[1] or "../../
platforms/
platform.xml")
simgrid.application(arg[2] or "bittorrent.xml")
simgrid.application(arg[2] or "bittorrent.xml")
-simgrid.run()
\ No newline at end of file
+simgrid.run()