Attempt to receive up to len bytes of data from zeromq socket.
sock - the socket to receive from.
len - number of bytes to read.
flags - optional flags to pass to recv
data - the read data in an uint8 array.
See also: zmq_socket.
Package: zeromq