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:
parent
28be8ecb39
commit
f19bedac1f
2 changed files with 49 additions and 37 deletions
|
@ -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());
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue