private ConnectorHandler createHandlerTCP(final TargetTuple tt)
throws IOException {
final InetSocketAddress remote = tt.getSocketAddress();
final TCPConnectorHandler connectorHandler =
(TCPConnectorHandler) clientController.acquireConnectorHandler(Protocol.TCP);
try {
if (tt.getBindIP() == null || tt.getBindIP().equals("")) {
connectorHandler.connect(remote,
new SharedCallbackHandler(connectorHandler, tt));
} else {
connectorHandler.connect(remote, tt.getSocketBindAddress(),
new SharedCallbackHandler(connectorHandler, tt));
}
return connectorHandler;
} catch (Throwable t) {