networking portability for for solaris

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33951 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-10-08 16:29:19 +00:00
parent 5021629c2b
commit 364fb1ec98
7 changed files with 39 additions and 16 deletions

View file

@ -381,7 +381,7 @@ static Class runLoopClass;
if (connect(desc, (struct sockaddr*)&sockAddr, SUN_LEN(&sockAddr)) < 0)
{
if (errno != EINPROGRESS)
if (!GSWOULDBLOCK)
{
NSLog(@"unable to make connection to %s - %@",
sockAddr.sun_path, [NSError _last]);