On Thu, Nov 18, 2010 at 06:40:51PM +0100, Goswin von Brederlow wrote: > I'm looking for stubs for > > ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags); > ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags); > > Specifically I need those to send (among normal messages) an > Unix.file_descr over a Unix Domain Socket. > > Does anyone know of a module that has them?
The Lwt_unix module has them [1]. Cheers, Jérémie [1] http://ocsigen.org/lwt/doc/api/Lwt_unix.html#VALrecv_msg _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs