the-real-blackh/cassandra-cql — pull request #3 by bnordbo (2013-07-24 15:48:42+00:00)
Title: Ensure TCP socket; fixes cassandra-cql for OS X

On OS X, `getAddrInfo` seems to return `DGRAM` before `STREAM`, hence the connection refused errors mentioned in issue #1. This patch should fix this, and is tested ok on OS X with the latest `haskell-platform`. Unfortunately, I don't have any other environments readily available for more testing.