1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-07-02 08:16:45 +02:00
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6873 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo 2007-01-30 01:06:20 +00:00 committed by thiago
parent 01abc3a797
commit bf2db58c7c

View file

@ -838,7 +838,6 @@ public abstract class TransportNegotiator extends JingleNegotiator {
try {
TransportCandidate.Ice ice = (TransportCandidate.Ice) tc;
if (ice.getType().equals("relay")) return true;
if(true) return false;
InetAddress.getByName(tc.getIp()).isReachable(3000);
DatagramSocket socket = new DatagramSocket(0);
socket.connect(InetAddress.getByName(tc.getIp()), tc.getPort());