This commit is contained in:
2023-04-20 06:17:41 +02:00
parent 3871bb8d99
commit 601b5de46d
14 changed files with 783 additions and 0 deletions

10
teil13/network/code.py Normal file
View File

@@ -0,0 +1,10 @@
def receive(conn):
msg = conn.recv(64).decode('utf-8')
return msg
def send(client, msg):
message = msg.encode('utf-8')
client.send(message)