add files

This commit is contained in:
2026-02-04 17:11:31 +03:00
parent 2b7b154440
commit 823855e737
4 changed files with 88 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import socket
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect(('172.20.10.11', 10000))
client.sendall(b'hello server')
data = client.recv(1024)
print(f"Ответ от сервера: {data.decode()}")
client.close()