1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-30 02:02:06 +01: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 { try {
TransportCandidate.Ice ice = (TransportCandidate.Ice) tc; TransportCandidate.Ice ice = (TransportCandidate.Ice) tc;
if (ice.getType().equals("relay")) return true; if (ice.getType().equals("relay")) return true;
if(true) return false;
InetAddress.getByName(tc.getIp()).isReachable(3000); InetAddress.getByName(tc.getIp()).isReachable(3000);
DatagramSocket socket = new DatagramSocket(0); DatagramSocket socket = new DatagramSocket(0);
socket.connect(InetAddress.getByName(tc.getIp()), tc.getPort()); socket.connect(InetAddress.getByName(tc.getIp()), tc.getPort());