From 85bf2ed2488940703693988628f4be994e112784 Mon Sep 17 00:00:00 2001 From: stud203799 Date: Fri, 1 May 2026 19:15:21 +0300 Subject: [PATCH] =?UTF-8?q?tcp-=D0=BA=D0=BB=D0=B8=D0=B5=D0=BD=D1=82=20?= =?UTF-8?q?=D1=82=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D0=B7=D0=B0=D0=B2=D0=B5?= =?UTF-8?q?=D1=80=D1=88=D0=B0=D0=B5=D1=82=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D1=83=20=D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tcp_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcp_client.py b/tcp_client.py index 531b2ce..b7a25ea 100644 --- a/tcp_client.py +++ b/tcp_client.py @@ -2,7 +2,7 @@ import socket client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client.connect(('127.0.0.1', 10000)) -client.sendall(b'hello server') +client.sendall(b'exit') data = client.recv(1024) print(f"Ответ от сервера: {data.decode()}") client.close() \ No newline at end of file