a daemon server, that will receive start/stop commands for the clients from that
remote host.
-File breakdown:
+*********************************
+* File breakdown *
+*********************************
server/
- Server.py - server that runs as a daemon
PROTOCOL - communication description between Server and Commander
+*********************************
+* Usage *
+*********************************
+ - test Commander<->Server
+ 1. in xml/nodes.xml add node ip and server listening port
+ 2. in xml/swarm.xml add torrent file
+ 3. on remote node, check SERVER_HOST and SERVER_PORT in Util.py.
+ The Server listens on its vm interface address.
+ 4. start commander using commander/run.sh
+
+ - test locally without remotely starting Server:
+ - in server/ :
+ 1. python Server.py - output in /home/p2p/out and /home/p2p/err
+ or
+ python Server_NO_DAEMON for console output
+ 2. python Client.py torrent_path
+ - has test scenerios for tribler, transmission and hrktorrent.
+ - modify test_all_commands method in order to choose the BT client.
+
+