code: public final void createSession (final InetSocketAddress targetAddress, final String targetName) {
  
          final Session session = factory.getSession(configuration, targetName, targetAddress);
          sessions.put(session.getTargetName(), session);
          LOGGER.info("Created the session with iSCSI Target '" + targetName + "' at " + targetAddress.getHostName() + " on port " + targetAddress.getPort() + ".");
      }
docs: Creates a new session to a target with the given Internet address and port. The target has the name
  <code>targetName</code>.
  
  @param targetAddress The Internet address and Port of the target.
  @param targetName Name of the target, to which a connection should be created.
  @throws Exception if any error occurs.