X-Git-Url: http://gitweb.pimeys.fr/?p=NK2015_Client_Python_Alpha.git;a=blobdiff_plain;f=client.py;h=fb4764b9dde19dd6188b891adec4beaaddc4bbca;hp=de8c71cfc4ceaf487874736f5629c30f7359d6f3;hb=948c2bfcc72c853b4c575b86d65b1662e173c087;hpb=76e06d82c94bcb814b95419c7faaeacf4beb0155 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")