OS X 10.8 or later is POSIX compliant. So socklen_t is defined in the base.