def __read_data(self):
        while self.socket:
            try:
                data = self.socket.recv(4096)
            except __HOLE__ as e:
                self.cleanup()
                return

            if len(data) == 0:
                self.cleanup()
                return

            self.data_received(data)
dataset/ETHPy150Open adamb70/CSGO-Market-Float-Finder/pysteamkit/steam3/connection.py/TCPConnection.__read_data