itsSocketHandler =
Constants.TCP.equals(itsConstants.getProperty(
Constants.TRANSPORT))
? new TCPSocketHandler(
localHost, localPortNr, remoteHost, portNr)
: new UDPSocketHandler(
localHost, localPortNr, remoteHost, portNr);
} catch (UnknownHostException e) {
theirLogger.severe(
"Unable to connect to server: " + LogSupport.stringify(e));