344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
|
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
|
-
+
-
|
if ((candidate = [enumerator nextObject]) != nil) {
do {
@try {
[_socket
connectToHost: [candidate target]
port: [candidate port]];
break;
} @catch (OFAddressTranslationFailedException
} @catch (OFResolveHostFailedException *e) {
*e) {
} @catch (OFConnectionFailedException *e) {
}
} while ((candidate = [enumerator nextObject]) != nil);
} else
/* No SRV records -> fall back to A / AAAA record */
[_socket connectToHost: _domainToASCII
port: _port];
|