def _readsocket(self, length):
        """Read exactly @length bytes from the socket"""
        if not self.socket:
            raise NTLM_Proxy_Exception("Read operation on closed socket.")
        data = self.bufferin
        while length < len(data):
            data += self.socket.recv(1024)
        data, self.bufferin = data[:length], data[length:]
        return data
dataset/ETHPy150Open Legrandin/PyAuthenNTLM2/PyAuthenNTLM2/ntlm_proxy.py/NTLM_Proxy._readsocket/swapped operands of `<`