From: Adriana Draghici Date: Wed, 3 Feb 2010 13:00:57 +0000 (+0200) Subject: bt_comm - updated START protocol X-Git-Tag: getopt_long~182 X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=eafdf137dcae9f2e96747fa07940db314e087cc1;p=cs-p2p-next.git bt_comm - updated START protocol --- diff --git a/bt_comm/PROTOCOL b/bt_comm/PROTOCOL index c57106c..83f51fa 100644 --- a/bt_comm/PROTOCOL +++ b/bt_comm/PROTOCOL @@ -30,11 +30,17 @@ Comunicare Client <-> Server - trimis pt pornirea unui client - msg 1: tipul mesajului START_MSG (definit in Util.py) - msg 2: dictionar cu parametrii - exp: {CLIENT:"tribler", - UP_LIMIT: "512", DL_LIMIT:"256", PORT:"9999", - DL_DIR:"/this/dir", LOG_DIR:"/this/dir", - OUT_FILE: "output_file", LOG_FILE:"log_file", - TORRENT: "torrent file"} + exp: {CLIENT:"tribler", + BASE_DIR: "/usr/bin", + UP_LIMIT: "512", + DL_LIMIT:"256", + PORT:"9999", + DL_DIR:"/this/dir", + LOG_DIR:"/this/dir", + OUT_FILE: "output_file", ??? nu stim exact scopul lui + LOG_FILE:"log_file", + TORRENT: "torrent file" + } - dupa fiecare msg 1,2 Serverul trimite un mesaj care indica daca a aparut sau nu vreo eroare