mcabber/loudmouth — pull request #9 by jacknagel (2013-11-07 08:10:49+00:00)
Title: Fix TCP keepalives on OS X 10.9

Mac OS X 10.9 defines TCP_KEEPCNT, which triggers USE_TCP_KEEPALIVES. However, it defines TCP_KEEPALIVE rather than TCP_KEEPIDLE.

Older OS X do not define TCP_KEEPCNT, so this patch is a no-op there.