You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

client.py 202B

123456789101112
  1. import socket
  2. s = socket.socket()
  3. host = socket.gethostname()
  4. port = 4444
  5. eingabe = input ("Bitte etwas eingeben:")
  6. s.connect((host, port))
  7. bytes = s.recv(1024)
  8. print(bytes.decode("utf-8"))
  9. s.close()