[[!comment format=mdwn username="http://joeyh.name/" ip="209.250.56.163" subject="comment 7" date="2014-02-08T17:42:52Z" content=""" What was the ugly hack that got it to link? I've seen setSocketOption fail on other OS's for various portability reasons. The haskell library that is responsible for this is , and you can find several setSocketOption calls in it. I've had good luck ifdefing those out when they don't work. Here's a patch where I disable the IPv6Only setting on Android (amoung other unrelated porting) """]]