How To Exit A While Loop In Host Through Client Using Sockets Python

How To Exit A While Loop In Host Through Client Using Sockets Python