I tried in the above way. but still its not working.
You can find the programs here
Main uv file: https://gist.github.com/arjunrp/c04b401ade738069da8e
test process file: https://gist.github.com/arjunrp/b3949125256bfac3c7ab

Thank you

On Saturday, 21 June 2014 14:26:52 UTC+5:30, Saúl Ibarra Corretgé wrote:
>
> -----BEGIN PGP SIGNED MESSAGE----- 
> Hash: SHA1 
>
> On 06/21/2014 06:30 AM, Arjun RP wrote: 
> > But uv_write need a request type as first argument. How to deal 
> > with that? 
> > 
>
> Well, you need to create one, of course: 
>
> uv_write_t* req; 
> int r; 
>
> req = malloc(sizeof *req); 
> if (!req) 
>     abort(); 
>
> r = uv_write(req, bufs, nbufs, write_cb); 
>
>
> Cheers, 
>
> - -- 
> Saúl Ibarra Corretgé 
> bettercallsaghul.com 
>
> -----BEGIN PGP SIGNATURE----- 
> Version: GnuPG v1 
> Comment: Using GnuPG with Icedove - http://www.enigmail.net/ 
>
> iQIcBAEBAgAGBQJTpUiUAAoJEEEOVVOum8BZR3oP/3St2B4dDv6+YhxMviAU2z5m 
> iiD/X2XvsfQslv35foGQrnBeVluQwHKf/kuzajZxbZvJKqN70TesPtKqll6mk6+N 
> p783zpD0Pd96azFdYEbk1QIGz95b9UYtWAAbNsKr1NdUScuP/c60t7SF93jzhJx9 
> Xtz2xwG+6+zT5c4H5fWwqVAecHsoCHAoxjxm4v3zi1KX0YmiSdNbhuHvlRmktoWb 
> Uzww3IIGaQGUnuWarcKlZi9ZQjovVz0GypDi0mnQg7VGJp6HJPlFykmJ7MpjB4Sz 
> jFc4KQQAxuZUXsBgQlEH7f+huFXQFa47RoJpmgNetitOembXdPE9sQhtCrbOQL1J 
> r/PCkFIr5aCFfMojbKMFhrHWwtCu6RU09cDRjwCmwtO4HXNVDtEeb+9D7sLvvRzc 
> Q3uMN7+iDmtzaqijMCiLewI7WmimWDO1wlm8/gqnoav2Z16W6WmYV3BWsndcRUso 
> hOH4Zy6BKDi7AkwEOEBUbeeUfGIU4aLgNw2YzMJZMV6rMg+C+Igid2yn2fd85eeP 
> iRpgDmNIx8FqJShwBG1ve7jRVSVIACpGWeZwNYlYlDn/CgoBnE4xeglYaEHYbVWg 
> gcJ2Ys8ZpLED99NK6AUXAMzRMYmz0bwFEEWQ2XvE+oLW9VzqGRNGVPJAittn4hJt 
> RQ11gIXJsDX4xaQlIp4Q 
> =B/Oj 
> -----END PGP SIGNATURE----- 
>

-- 
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/d/optout.

Reply via email to