]> gitweb.pimeys.fr Git - NK2015_Client_Python_Alpha.git/blobdiff - client.py
fixed fonction users
[NK2015_Client_Python_Alpha.git] / client.py
index de8c71cfc4ceaf487874736f5629c30f7359d6f3..fb4764b9dde19dd6188b891adec4beaaddc4bbca 100755 (executable)
--- 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")