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