'recv a numpy array'

def recv_array(self, flags=0, copy=True, track=False):

    md = self.recv_json(flags=flags)
    msg = self.recv(flags=flags, copy=copy, track=track)
    A = numpy.frombuffer(msg, dtype=md['dtype'])
    return A.reshape(md['shape'])
