Working on SIP Support

Fixed 1.4 backward compatibility
cusax-fix
Emil Ivov 20 years ago
parent 1ef0ace942
commit bf47f04e44

@ -438,11 +438,12 @@ private void initializeLocalHostFinderSocket()
try
{
localHostFinderSocket = new DatagramSocket(currentlyTriedPort);
//we succeeded - break so that we don't try to bind again
break;
}
catch (SocketException exc)
{
if (!exc.getMessage().contains(
"Address already in use"))
if (exc.getMessage().indexOf("Address already in use") == -1)
{
logger.fatal("An exception occurred while trying to create"
+ "a local host discovery socket.", exc);

Loading…
Cancel
Save