12345678910111213141516171819 |
- import socket
-
- s = socket.socket()
- host = socket.gethostname()
- port = 12345
-
-
- eingabe = input("gibt etwas ein")
- print(eingabe)
-
-
-
- while True:
- (connection, addr) = s.accept()
- connection.send(eingabe.encode('utf-8'))
- connection.close()
-
-
|