From 948c2bfcc72c853b4c575b86d65b1662e173c087 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Sat, 17 Mar 2012 19:34:37 +0100 Subject: [PATCH] fixed fonction users --- client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.py b/client.py index de8c71c..fb4764b 100755 --- a/client.py +++ b/client.py @@ -93,9 +93,10 @@ def challenge(a): print "Imposteur !" if __name__=="__main__": + where=raw_input("quel serveur ?") #port=int(raw_input("port ? ")) a=socket.socket() - a=connect(a,"cerebro") + a=connect(a,where) a.settimeout(2) #checkidentity(a) print hello(a,"Python Client alpha") -- 2.39.2