From: Adriana Draghici Date: Fri, 29 Jan 2010 14:48:58 +0000 (+0200) Subject: bt_comm: changed message format for starting client X-Git-Tag: getopt_long~191 X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=b7611694ec93b143a287e98f8f166618fd328940;p=cs-p2p-next.git bt_comm: changed message format for starting client --- diff --git a/Util.py b/Util.py index 7b41ae7..b69ad72 100644 --- a/Util.py +++ b/Util.py @@ -19,6 +19,7 @@ DL_LIMIT = "download_limit" DL_DIR = "download_dir" LOG_DIR = "logging_dir" OUT_FILE = "output_file" +LOG_FILE = "log_file" PORT = "port" diff --git a/bt_comm/PROTOCOL b/bt_comm/PROTOCOL index f74613c..29f3836 100644 --- a/bt_comm/PROTOCOL +++ b/bt_comm/PROTOCOL @@ -32,7 +32,8 @@ Comunicare Client <-> Server - msg 2: dictionar cu parametrii exp: {CLIENT:"tribler", BASE_DIR: "/home/p2p/p2p-clients/tribler/", UP_LIMIT: "512", DL_LIMIT:"256", PORT:"9999", - DL_DIR:"/this/dir", LOG_DIR:"/this/dir", OUT_FILE: "output_file"} + DL_DIR:"/this/dir", LOG_DIR:"/this/dir", + OUT_FILE: "output_file", LOF_FILE:"log_file"} - dupa fiecare msg 1,2 Serverul trimite un mesaj care indica daca a aparut sau nu vreo eroare 3. Mesaje STOP