ObjFW  Diff

Differences From Artifact [0fd4ca4245]:

To Artifact [c69f2ecab6]:


91
92
93
94
95
96
97
98
99
100



101

102
103
104
105
106
107
108
91
92
93
94
95
96
97



98
99
100

101
102
103
104
105
106
107
108







-
-
-
+
+
+
-
+







		}

		break;
	}
	
	freeaddrinfo(res0);

	if (sock < 0) {
		/* FIXME: Throw exception */
		return nil;
	if (sock < 0)
		@throw [OFConnectionFailedException newWithObject: self
							  andHost: host
	}
							  andPort: port];

	return self;
}

-    bindOn: (const char*)host
   withPort: (uint16_t)port
  andFamily: (int)family