Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Looking for stubs for sendmsg/recvmsg
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-11-19 (08:56)
From: Sylvain Le Gall <sylvain@l...>
Subject: Re: Looking for stubs for sendmsg/recvmsg
On 18-11-2010, Goswin von Brederlow <> wrote:
> Hi,
> 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?

If you don't find one and plan to write it yourself, this would be a
good addition to extunix:

Sylvain Le Gall