From: Keith I. <kei...@gm...> - 2007-07-08 19:04:24
|
Folks-- I've been struggling with setting a socket option for multicast (as suggested by pages including and similar to): http://tldp.org/HOWTO/Multicast-HOWTO-6.html But for some reason, can't seem to get the call to setsockopt (using either the version internal to sbcl or my own define-foreign-routine version) to work without returning EINVAL and a note about one of the parameters being invalid. This is on the latest GIT version of sbcl, 1.0.7.13, on Mac OSX x86-64. Here's the test code: http://paste.lisp.org/display/44148 I suspect I've misunderstood something about the sb-alien stuff, but just can't figure out what from the docs. Anyone have any clue where I might be messing up? Keith |