

def recv(self):
    len_raw = self.ssl.recv(4)
    data_len = struct.unpack('!I', len_raw)[0]
    data = self.ssl.recv(data_len)
    assert (len(data) == data_len)
    return data

dataset/ETHPy150Open stevenle/googletv-anymote/googletv/__init__.py BaseProtocol.recv/original