if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG,
"ReliableTcpClient[" + identity + ',' + key + "].createSocket(" +
hostname + "," + port + ") on interface " + outLocalAddrStr + ":" + outLocalPort);
SocketFactory factory = SocketFactory.getFactory(params.socketFactory);
Socket socket = factory.createSocket(addr, port,
outLocalAddr, outLocalPort,
params.connectingTimer *1000);
return socket;
}