I may have been just compiling things wrong, but I needed to add the following line to the Socket source for it to compile on OS X 10.6.5 (after wrangling with libevent1 for an hour :S).
diff --git a/addons/Socket/source/Address.h b/addons/Socket/source/Address.h
index fa3041f..368b2a6 100644
@@ -5,6 +5,7 @@
#if !defined(_WIN32) || defined(__CYGWIN__)
Without it, socklen_t was defined as a function type, before <sys/socket.h> has a chance to define it properly.
Also, as mentioned in Issue #102, Socket is disabled by default which is a little confusing when following the examples if you're new to the language.
Awesome language, by the way. It's like the magic love-child of Objective C and Lisp.
aah, ok, missed that when buliding on Debian (it didn't break there). Thanks!
Is there a pull request for this?
Socket: socklen_t problems on some platforms. Via Aaron Griffith, see #…
There it is
Looks like this fix has been merged - please reopen if not.