From: Vlad S. <vl...@cr...> - 2005-11-02 23:20:59
|
Oops, added. And with most recent fixes it should work with Darwin as well. Zoran Vasiljevic wrote: > > Am 03.11.2005 um 00:02 schrieb Vlad Seryakov: > >> I am not sure why AC_HAVE_CMMSG is no define, i added it into >> configure.in and under m4/cmmsg.m4. On linux no errors. > > > You did not check-in the m4/cmmsg.m4. > >> >> Also, can you find the definition of struct msghdr in sys/socket.h, >> looks like Darwin has different fields there. >> > > > Here it is: > > /* > * [XSI] Message header for recvmsg and sendmsg calls. > * Used value-result for recvmsg, value only for sendmsg. > */ > struct msghdr { > void *msg_name; /* [XSI] optional address */ > socklen_t msg_namelen; /* [XSI] size of address */ > struct iovec *msg_iov; /* [XSI] scatter/gather array */ > int msg_iovlen; /* [XSI] # elements in msg_iov */ > void *msg_control; /* [XSI] ancillary data, see > below */ > socklen_t msg_controllen; /* [XSI] ancillary data buffer > len */ > int msg_flags; /* [XSI] flags on received > message */ > }; > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |