: count = zmq_send (sock, data)
: count = zmq_send (sock, data, flags)

Attempt to send to data bytes of data to zeromq socket.

Inputs

sock - the socket to receive from.

data - data to send - either string or uint8 type.

flags - optional flags to pass to send

Outputs

count - number of bytes written to socket, or -1 on error.

See also: zmq_socket.

Package: zeromq