add files

This commit is contained in:
2026-02-04 17:24:25 +03:00
commit e939a3bed9
7 changed files with 316 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import socket
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect(('10.249.231.180', 10000))
client.sendall(b'hello server')
data = client.recv(1024)
print(f"Ответ от сервера: {data.decode()}")
client.close()