OSX + socket