Commits

Cédric Bonhomme  committed 448a553

The client asks for the name.

  • Participants
  • Parent commits be614a4

Comments (0)

Files changed (1)

         """
         Send messages.
         """
+        message = input("Please give yourname: ")
         while True:
-            message = input(">> ")
             self.sock.send(message.encode("utf-8"))
+            message = input("you> ")
         self.sock.close()
 
 if __name__ == '__main__':
     # Point of entry in execution mode.
-	client = Client('127.0.0.1', 9988)
+    client = Client('127.0.0.1', 9988)