aufgabe1
This commit is contained in:
parent
4d8a6a781e
commit
1fe3f30488
@ -3,6 +3,7 @@ s= socket.socket()
|
|||||||
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…
x
Reference in New Issue
Block a user