1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-14 03:29:38 +02:00

Multiple STUN Servers Support

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7650 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo 2007-03-22 19:57:50 +00:00 committed by thiago
parent 28be8ecb39
commit f19bedac1f
2 changed files with 49 additions and 37 deletions

View file

@ -169,8 +169,9 @@ public class STUNResolverTest extends SmackTestCase {
System.out.println(STUN.serviceAvailable(getConnection(0)));
STUN stun = STUN.getSTUNServer(getConnection(0));
System.out.println(stun.getHost() + ":" + stun.getPort());
for (STUN.StunServerAddress stunServerAddress : stun.getServers())
System.out.println(stunServerAddress.getServer() + ":" + stunServerAddress.getPort());
}
/**