On 11/26/13 12:29 PM, Sarav Sandhu wrote:
Ok, then what exactly is the solution to this problem. What I need is
that there must be 1 uv_write() call corresponding to the data received
in msgrcv() call.


You could put the data you want to write on a queue and use an async handle which starts an idle handle in its callback, and in the idle handle's callback you consume the queue and do the actual uv_write.

--
Saúl Ibarra Corretgé
http://bettercallsaghul.com

--
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to