From eafdf137dcae9f2e96747fa07940db314e087cc1 Mon Sep 17 00:00:00 2001 From: Adriana Draghici Date: Wed, 3 Feb 2010 15:00:57 +0200 Subject: [PATCH] bt_comm - updated START protocol --- bt_comm/PROTOCOL | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) 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 -- 2.20.1