while True: message_send = input("server >> ") client_socket.send(message_send.encode()) if message_send == "!transfer":