On Aug 10, 2004, at 8:26 PM, Michael Tuexen wrote: > Dear all, > > it would be very helpful for me (and some others) if the 1.6.5 release > could have some support for SCTP. > > To see what kind of change this requires I'm appending the diff files > for libguile/socket.[ch]. > > What are the changes (for socket.h)? > > - add to prototypes for sctp-recvmsg and sctp-sendmsg. > These changes are #ifdefed. > > What are the changes (for socket.c)? > > - include if available. #ifdefed. > - add two line of code to initialize socket structures to zero. > (If you do not like these two changes, take them out. They helped > for some SCTP implementations not doing this in the kernel. At > least one of them is fixed now). > - add sctp-recvmsg and sctp-sendmsg wrapper functions. These are > #ifdefed. > - add some constants, if they are available. #ifdefed. > > What is still missing (configure.in)? > > - A check for the existence of netinet/sctp.h. If yes, define > HAVE_NETINET_SCTP_H > - A check if sctp_sendmsg is contained in libsctp. If yes, define > HAVE_SCTP_SENDMSG > an add libsctp to the list of libraries to be used. > - A check if sctp_recvmsg is contained in libsctp. If yes, define > HAVE_SCTP_RECVMSG > an add libsctp to the list of libraries to be used. > > (libsctp is located on some platforms in /usr/lib, /usr/local/lib and > /usr/local/v6/lib) > This can be done by adding some lines to configure.in. > > I will test the configure.in changes and send a patch for configure.in > later > this week. > > Please let me know if these patches can be included in the upcoming > 1.6.5 release. > > Thank you very much. > > Best regards > Michael > > > _______________________________________________ > Guile-devel mailing list > Guile-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/guile-devel