1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-12 18:49:39 +02:00

Add Public IP Disco for STUN Services

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7681 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo 2007-03-23 03:54:46 +00:00 committed by thiago
parent f19bedac1f
commit 2e06fdad64
2 changed files with 36 additions and 1 deletions

View file

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