title: How to setup port mappings with the Cling UPnP library
body: <p>Having looked through the <a href="http://4thline.org/projects/cling/support/manual/cling-support-manual.html#section.PortMapping" rel="nofollow">NAT Traversal Doc</a> for Cling, I find myself with these questions:</p>
  
  <ul>
  <li>In the second example where does the mapping array come from? </li>
  <li>Can I (How to) query, after the setup, for the external port mapped to (host, internal_port)?</li>
  <li>IMPORTANT: If I set a finite lease on a mapping, how do I renew the lease?</li>
  </ul>