diff --git a/echo_server.py b/echo_server.py index 3d4818f..72d26e7 100644 --- a/echo_server.py +++ b/echo_server.py @@ -28,8 +28,4 @@ class EchoServer: break response = "Received: " + data conn.sendall(response.encode()) - conn.close() - - -if __name__ == '__main__': - EchoServer() + conn.close() \ No newline at end of file