Fix XMPPSRVEnumerator by rewriting almost all of it.

This commit is contained in:
Jonathan Schleifer 2011-05-26 00:08:56 +02:00
parent 5b9eb619d3
commit 18ec0d947b
4 changed files with 323 additions and 177 deletions

View file

@ -201,6 +201,8 @@
[XMPPSRVEnumerator enumeratorWithDomain: server];
XMPPSRVEntry *candidate;
[SRVEnumerator lookUpEntries];
while ((candidate = [SRVEnumerator nextObject]) != nil) {
@try {
[sock connectToHost: [candidate target]