Browse Source

aufgabe1

master
Nadege 5 years ago
parent
commit
1fe3f30488
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      client.py

+ 1
- 0
client.py View File

host=socket.gethostname() host=socket.gethostname()
port= 12345 port= 12345
s.connect((host , port)) s.connect((host , port))
msg = input('geben sie was ein: ')
bytes= s.recv(1024) bytes= s.recv(1024)
print(bytes.decode('utf-8') ) print(bytes.decode('utf-8') )
s.close() s.close()

Loading…
Cancel
Save