Zeromq Toolkit - zmq_recv


: data = zmq_recv (sock, len)
: data = zmq_recv (sock, len, flags)

Attempt to receive up to len bytes of data from zeromq socket.

Inputs

sock - the socket to receive from.

len - number of bytes to read.

flags - optional flags to pass to recv

Outputs

data - the read data in an uint8 array.

See also: zmq_socket.