mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
5021629c2b
commit
364fb1ec98
7 changed files with 39 additions and 16 deletions
|
@ -910,7 +910,7 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
|||
[self setNonBlocking: YES];
|
||||
if (connect(net, &sin, GSPrivateSockaddrLength(&sin)) == -1)
|
||||
{
|
||||
if (errno != EINPROGRESS)
|
||||
if (!GSWOULDBLOCK)
|
||||
{
|
||||
NSLog(@"unable to make connection to %@ - %@",
|
||||
GSPrivateSockaddrName(&sin), [NSError _last]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue