J
Jacob Repp
I want to do this:
puts "sending data"
sock.send("HELLO") { |nbytes|
puts "sent #{nbytes} bytes"
}
puts "processing io completions"
queue.process() # calls the above defined block
I want to see the following outpout:
sending data
processing io completions
sent 5 bytes
Is this possible?
puts "sending data"
sock.send("HELLO") { |nbytes|
puts "sent #{nbytes} bytes"
}
puts "processing io completions"
queue.process() # calls the above defined block
I want to see the following outpout:
sending data
processing io completions
sent 5 bytes
Is this possible?