lib/0mq/socket.rb
# Send a multipart message as an array of strings
Send a multipart message as an array of strings
Send a multipart message as an array of strings
def send_array(array, flags = 0)
      array = array.to_a
      array[0...-1].each { |str| send_string str, ZMQ::SNDMORE|flags }
      send_string array.last, flags
    end
def send_array ( array , flags = 0 ) array = array . to_a array [ 0 ... - 1 ] . each { | str | send_string str , ZMQ :: SNDMORE | flags } send_string array . last , flags end
Send a multipart message as an array of strings
Send a multipart message as an array of strings
array
<not_specific>
flags
<not_specific>